Struct chacha20::ChaCha20RngCore [−][src]
pub struct ChaCha20RngCore { /* fields omitted */ }
This is supported on crate feature
rng
only.Core random number generator, for use with rand_core::block::BlockRng
Trait Implementations
impl BlockRngCore for ChaCha20RngCore
[src]
impl BlockRngCore for ChaCha20RngCore
[src]impl CryptoRng for ChaCha20RngCore
[src]
impl CryptoRng for ChaCha20RngCore
[src]impl SeedableRng for ChaCha20RngCore
[src]
impl SeedableRng for ChaCha20RngCore
[src]type Seed = [u8; 32]
Seed type, which is restricted to types mutably-dereferencable as u8
arrays (we recommend [u8; N]
for some N
). Read more
fn from_seed(seed: Self::Seed) -> Self
[src]
pub fn seed_from_u64(state: u64) -> Self
[src]
pub fn from_rng<R>(rng: R) -> Result<Self, Error> where
R: RngCore,
[src]
R: RngCore,
Auto Trait Implementations
impl RefUnwindSafe for ChaCha20RngCore
impl RefUnwindSafe for ChaCha20RngCore
impl Send for ChaCha20RngCore
impl Send for ChaCha20RngCore
impl Sync for ChaCha20RngCore
impl Sync for ChaCha20RngCore
impl Unpin for ChaCha20RngCore
impl Unpin for ChaCha20RngCore
impl UnwindSafe for ChaCha20RngCore
impl UnwindSafe for ChaCha20RngCore