Expand description
§Classic API
The Classic API follows libsodium’s interface closely. Use it to port libsodium code or when fixed-size byte arrays and byte slices are a better fit than the Rustaceous types.
Modules§
- crypto_
aead_ chacha20poly1305_ ietf - ChaCha20-Poly1305-IETF authenticated encryption
- crypto_
aead_ xchacha20poly1305_ ietf - XChaCha20-Poly1305-IETF authenticated encryption
- crypto_
auth - Secret-key authentication
- crypto_
auth_ hmacsha256 - HMAC-SHA-256 authentication
- crypto_
auth_ hmacsha512 - HMAC-SHA-512 authentication
- crypto_
auth_ hmacsha512256 - HMAC-SHA-512-256 authentication
- crypto_
box - Authenticated public-key cryptography functions
- crypto_
core - Core cryptography functions
- crypto_
generichash - Generic hashing
- crypto_
hash - Hash functions
- crypto_
kdf - Key derivation function
- crypto_
kx - Key exchange
- crypto_
onetimeauth - One-time authentication
- crypto_
pwhash - Password hashing
- crypto_
secretbox - Authenticated encryption functions
- crypto_
secretstream_ xchacha20poly1305 - Secret stream functions
- crypto_
shorthash - Short-input hashing
- crypto_
sign - Public-key signatures
- crypto_
sign_ ed25519 - Ed25519 signing helpers