Skip to contents

All functions

diffie_hellman()
Diffie-Hellman
hash() scrypt() argon2() shorthash() sha512() sha256()
Hash Functions
bin2hex() hex2bin() random()
Sodium Utilities
keygen() pubkey()
Keypair Generation
auth_encrypt() auth_decrypt()
Authenticated Encryption
password_store() password_verify()
Password Storage
sig_sign() sig_verify() sig_keygen() sig_pubkey()
Create and Verify Signatures
simple_encrypt() simple_decrypt()
Anonymous Public-key Encryption (Sealed Box)
chacha20() xchacha20() salsa20() xsalsa20()
Stream Ciphers
data_encrypt() data_decrypt() data_tag()
Symmetric Encryption and Tagging