Rust bindings to the sodium library.
Sodium is a portable implementation of Dan Bernsteins
NaCl: Networking and
For most users, if you want public-key (asymmetric) cryptography you should use
the functions in
crypto::box_ for encryption/decryption.
If you want secret-key (symmetric) cryptography you should be using the
crypto::secretbox for encryption/decryption.
For public-key signatures you should use the functions in
crypto::sign for signature creation and verification.
All functions in this library are thread-safe provided that the
function has been called during program execution.
init() hasn't been called then all functions except the random-number
generation functions and the key-generation functions are thread-safe.
Libsodium Base64 encoding/decoding helper functions
Libsodium hexadecimal encoding/decoding helper functions
Cryptographic random number generation.
Libsodium utility functions
Libsodium version functions