Cox::LibSodium::NONCE_BYTES points to the wrong function

This commit is contained in:
Ray Zane 2018-03-22 13:18:21 -04:00
parent 8a18415185
commit 07bf3f5d2c

View File

@ -13,7 +13,7 @@ module Cox
PUBLIC_KEY_BYTES = crypto_box_publickeybytes() PUBLIC_KEY_BYTES = crypto_box_publickeybytes()
SECRET_KEY_BYTES = crypto_box_secretkeybytes() SECRET_KEY_BYTES = crypto_box_secretkeybytes()
NONCE_BYTES = crypto_box_macbytes() NONCE_BYTES = crypto_box_noncebytes()
MAC_BYTES = crypto_box_macbytes() MAC_BYTES = crypto_box_macbytes()
PUBLIC_SIGN_BYTES = crypto_sign_publickeybytes() PUBLIC_SIGN_BYTES = crypto_sign_publickeybytes()
SECRET_SIGN_BYTES = crypto_sign_secretkeybytes() SECRET_SIGN_BYTES = crypto_sign_secretkeybytes()