Struct chacha20::ChaCha12Rng
source · [−]pub struct ChaCha12Rng(_);
Available on crate feature
rng
only.Expand description
Random number generator over the ChaCha12 stream cipher.
Trait Implementations
sourceimpl RngCore for ChaCha12Rng
impl RngCore for ChaCha12Rng
sourcefn fill_bytes(&mut self, bytes: &mut [u8])
fn fill_bytes(&mut self, bytes: &mut [u8])
Fill dest
with random data. Read more
sourceimpl SeedableRng for ChaCha12Rng
impl SeedableRng for ChaCha12Rng
impl CryptoRng for ChaCha12Rng
Auto Trait Implementations
impl RefUnwindSafe for ChaCha12Rng
impl Send for ChaCha12Rng
impl Sync for ChaCha12Rng
impl Unpin for ChaCha12Rng
impl UnwindSafe for ChaCha12Rng
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more