Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Restore NONCEBYTES constant

Though it still isn't documented, in the hope people use the helpful
methods provided.
  • Loading branch information...
commit 2d16346952099e8022e97e3a748dd1717ffe53d9 1 parent a25bd5d
@namelessjon namelessjon authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/rbnacl/nacl.rb
View
1  lib/rbnacl/nacl.rb
@@ -47,6 +47,7 @@ def self.#{name}(*args)
[:pointer, :pointer]
CURVE25519_XSALSA20_POLY1305_BOX_NONCEBYTES = 24
+ NONCEBYTES = CURVE25519_XSALSA20_POLY1305_BOX_NONCEBYTES
ZEROBYTES = 32
BOXZEROBYTES = 16
CURVE25519_XSALSA20_POLY1305_BOX_BEFORENMBYTES = 32
Please sign in to comment.
Something went wrong with that request. Please try again.