Expand description
Libsodium wrappers.
Structs§
- Curve25519
Public - EC public key.
- Curve25519
Secret - EC secret key.
- Hmac
Sha256 Key - HMAC key
- Hmac
Sha256 Mac - HMAC mac.
- KeyPair
- The secret and public key pair of the account.
- Public
Key - The public key of the account.
- Secret
Key - The secret key of the account.
Functions§
- hash
- Compute sha256 hash of
m. - init
- Initialize the sodium library and chooses faster version of the primitives if possible.
- random_
bytes - Generate
sizerandom bytes.