pub struct Salsa<R: Rounds> { /* fields omitted */ }
Expand description
The Salsa20 family of stream ciphers
(implemented generically over a number of rounds).
We recommend you use the Salsa20
(a.k.a. Salsa20/20) variant.
Formats the value using the given formatter. Read more
Create new stream cipher instance from key and nonce arrays.
Create new stream cipher instance from variable length key and nonce
given as byte slices. Read more
Apply keystream to the data, but return an error if end of a keystream
will be reached. Read more
Try to get current keystream position Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.