Crate sodoken[−][src]
Expand description
lib SOdium + haDOKEN = SODOKEN!
libsodium wrapper providing tokio safe memory secure api access.
Modules
argon2id | Api functions related to the argon2id password hashing algorithm. |
blake2b | Api functions related to the blake2b generichash algorithm. |
box_curve25519xchacha20poly1305 | Api functions related to cryptographic box encryption / decryption. |
buffer | Additional types related to working with buffers. |
random | Api functions related to cryptographically secure randomness / entropy. |
sign | Api functions related to cryptographic signatures and verification. |
Structs
BufRead | A concrete read-only buffer type that may or may not be mem_locked. |
BufReadSized | A concrete sized read-only buffer type that may or may not be mem_locked. |
BufWrite | A concrete writable buffer type that may or may not be mem_locked. |
BufWriteSized | A concrete sized writable buffer type that may or may not be mem_locked. |
Enums
SodokenError | Error type for holochain_crypto. |
Traits
AsBufRead | A readable buffer that may or may not be mem_locked. |
AsBufReadSized | A sized readable buffer that may or may not be mem_locked. |
AsBufWrite | A writable buffer that may or may not be mem_locked. |
AsBufWriteSized | A writable buffer that may or may not be mem_locked. |
AsRead | Indicates we can dereference an item as a readable byte array. |
AsReadSized | Indicates we can dereference a sized item as a readable byte array. |
AsWrite | Indicates we can dereference an item as a mutable byte array. |
AsWriteSized | Indicates we can dereference a sized item as a mutable byte array. |
Type Definitions
SodokenResult | Result type for holochain_crypto. |