Type Alias chacha20::ChaCha20Legacy

source ·
pub type ChaCha20Legacy = StreamCipherCoreWrapper<ChaCha20LegacyCore>;
Expand description

The ChaCha20 stream cipher (legacy “djb” construction with 64-bit nonce).

WARNING: this implementation uses 32-bit counter, while the original implementation uses 64-bit counter. In other words, it does not allow encrypting of more than 256 GiB of data.

Aliased Type§

struct ChaCha20Legacy { /* private fields */ }