[][src]Module secretbox::chacha20

This module contains primitives for generating CSPRNG data using the chacha20 algorithm

Re-exports

pub use trivial as implementation;
pub use implementation::chacha20;

Modules

trivial

Structs

XChacha20

XChacha20 structure. 32-byte key, 16-byte sigma, 12-byte nonce, 4-byte counter

Constants

SIGMA

SIGMA constant used to expand a 32-byte key Reads "expand 32-byte k"