Merge pull request #5 from rzane/nonce-bytes

Cox::LibSodium::NONCE_BYTES points to the wrong function
This commit is contained in:
Andrew Hamon 2018-03-22 12:52:10 -05:00 committed by GitHub
commit 8346d47bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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