Struct chacha20::ChaCha [−][src]
pub struct ChaCha<R: Rounds, MC: MaxCounter> { /* fields omitted */ }
ChaCha family stream cipher, generic around a number of rounds.
Use the ChaCha8
, ChaCha12
, or ChaCha20
type aliases to select
a specific number of rounds.
Generally ChaCha20
is preferred.
Trait Implementations
impl<R: Rounds, MC: MaxCounter> StreamCipher for ChaCha<R, MC>
[src]
impl<R: Rounds, MC: MaxCounter> StreamCipher for ChaCha<R, MC>
[src]impl<R: Rounds, MC: MaxCounter> StreamCipherSeek for ChaCha<R, MC>
[src]
impl<R: Rounds, MC: MaxCounter> StreamCipherSeek for ChaCha<R, MC>
[src]Auto Trait Implementations
impl<R, MC> RefUnwindSafe for ChaCha<R, MC> where
MC: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, MC> RefUnwindSafe for ChaCha<R, MC> where
MC: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, MC> UnwindSafe for ChaCha<R, MC> where
MC: UnwindSafe,
R: UnwindSafe,
impl<R, MC> UnwindSafe for ChaCha<R, MC> where
MC: UnwindSafe,
R: UnwindSafe,