Crate sodalite [] [src]

Constants

BOX_PUBLIC_KEY_LEN
BOX_SECRET_KEY_LEN
ONETIMEAUTH_HASH_LEN
ONETIMEAUTH_KEY_LEN
SECRETBOX_KEY_LEN
SECRETBOX_NONCE_LEN
SIGN_LEN
SIGN_PUBLIC_KEY_LEN
SIGN_SECRET_KEY_LEN
STREAM_KEY_LEN
STREAM_NONCE_LEN

Functions

box_
box_afternm
box_beforenm
box_keypair
box_open
box_open_afternm
core_hsalsa20
core_salsa20
hash
onetimeauth
onetimeauth_verify
scalarmult_base
secretbox
secretbox_open
sign_attached

Generate an attached (ie: joined) signature for @m (the message). The signature is stored at the beginning of @sm (signed message). @sm must be at exactly @m.len() + SIGN_LEN bytes long.

sign_keypair
sign_keypair_seed
sign_open
stream
stream_salsa20
stream_salsa20_xor
stream_xor
verify_16
verify_32

Type Definitions

BoxPublicKey
BoxSecretKey
OnetimeauthHash
OnetimeauthKey
SecretboxKey
SecretboxNonce
Sign
SignPublicKey
SignSecretKey
StreamKey
StreamNonce