Module crypto

Module crypto 

Source
Expand description

Encryption and decryption.

Modules§

aead
Authenticated Encryption with Associated Data (AEAD) algorithms.
cipher
Shadowsocks ciphers.

Structs§

Nonce
A simple encapsulation of bytes array.

Functions§

derive_key
Generates the master key from a password.
hkdf_sha1
Produces a subkey that is cryptographically strong even if the input secret key is weak.