class Sodium::Nonce
- Sodium::Nonce
- Reference
- Object
Defined in:
sodium/nonce.crConstant Summary
-
NONCE_SIZE =
LibSodium::NONCE_SIZE.to_i
Constructors
Class Method Summary
Instance Method Summary
- #bytesize(*args, **options)
- #bytesize(*args, **options, &)
-
#dup
Returns a shallow copy of this object.
- #increment
-
#reusable=(reusable)
Only use with single use keys.
-
#reusable? : Bool
Only use with single use keys.
-
#to_slice : Bytes
Returns bytes
- #used!
- #used? : Bool
Constructor Detail
Class Method Detail
Instance Method Detail
def dup
#
Description copied from class Reference
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self
into it.