Skip to main content

Module classic

Module classic 

Source
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