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 - Public-key authenticated encryption
- crypto_
core - Core cryptography functions
- crypto_
generichash - Generic hashing
- crypto_
hash - Hash functions
- crypto_
kdf - Key derivation function
- crypto_
kem - Key encapsulation
- crypto_
kem_ mlkem768 - ML-KEM-768 key encapsulation
- crypto_
kem_ xwing - X-Wing hybrid key encapsulation
- crypto_
kx - Key exchange
- crypto_
onetimeauth - One-time authentication
- crypto_
pwhash alloc - Password hashing
- crypto_
secretbox - Secret-key authenticated encryption
- crypto_
secretstream_ xchacha20poly1305 - Secret streams
- crypto_
shorthash - Short-input hashing
- crypto_
sign - Public-key signatures
- crypto_
sign_ ed25519 - Ed25519 signing helpers
- crypto_
xof - Extendable-output functions