[][src]Struct chacha20::ChaCha20Legacy

pub struct ChaCha20Legacy(_);

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

The legacy Cargo feature must be enabled to use this.

Trait Implementations

impl NewStreamCipher for ChaCha20Legacy[src]

type KeySize = U32

Key size in bytes

type NonceSize = U8

Nonce size in bytes

impl SyncStreamCipher for ChaCha20Legacy[src]

impl SyncStreamCipherSeek for ChaCha20Legacy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<C> StreamCipher for C where
    C: SyncStreamCipher
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.