[][src]Module pwbox::sodium

Crypto primitives based on libsodium.

Structs

ChaCha20Poly1305

ChaCha20 symmetric cipher with poly1305 MAC.

Scrypt

Scrypt key derivation function parameterized as per libsodium, i.e., via opslimit (computational hardness) and memlimit (RAM consumption).

ScryptCompat

Sodium wrapper around scrypt. Designed for compatibility with other implementations.

XSalsa20Poly1305

xsalsa20 symmetric cipher with poly1305 MAC.

Enums

Sodium

Suite for password-based encryption provided by libsodium.