Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cox
master
Cox
Key
KeyPair
Nonce
PublicKey
SecretKey
SignKeyPair
SignPublicKey
SignSecretKey
Built with Crystal 1.9.2
2023-10-08 03:51:58 UTC
class
Cox::Nonce
Cox::Nonce
Reference
Object
Defined in:
cox/nonce.cr
Constant Summary
NONCE_LENGTH
=
LibSodium
::
NONCE_BYTES
Constructors
.new
(bytes : Bytes)
.new
Instance Method Summary
#bytes
: Bytes
#bytes=
(bytes : Bytes)
#pointer
(size)
#pointer
Constructor Detail
def self.
new
(bytes : Bytes)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
bytes
: Bytes
#
[
View source
]
def
bytes=
(bytes : Bytes)
#
[
View source
]
def
pointer
(size)
#
[
View source
]
def
pointer
#
[
View source
]