Struct chacha20::ChaCha8Rng
source · [−]pub struct ChaCha8Rng(_);
Available on crate feature
rng
only.Expand description
Random number generator over the ChaCha8 stream cipher.
Trait Implementations
sourceimpl RngCore for ChaCha8Rng
impl RngCore for ChaCha8Rng
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 ChaCha8Rng
impl SeedableRng for ChaCha8Rng
impl CryptoRng for ChaCha8Rng
Auto Trait Implementations
impl RefUnwindSafe for ChaCha8Rng
impl Send for ChaCha8Rng
impl Sync for ChaCha8Rng
impl Unpin for ChaCha8Rng
impl UnwindSafe for ChaCha8Rng
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