Struct nettle::cipher::Salsa20R12_128[][src]

pub struct Salsa20R12_128 { /* fields omitted */ }
Expand description

128 bit variant of D.J. Bernstein’s Salsa20/12 block cipher.

Note

Salsa20/12 it a reduced round version of Salsa20.

Implementations

Salsa20/12 block size in bytes.

Salsa20/12 key size in bytes.

Salsa20/12 nonce size in bytes.

Create a new instance with key.

Encrypt/decrypt data from src to dst.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.