Struct chacha20::ChaCha12RngCore [−][src]
pub struct ChaCha12RngCore { /* 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 ChaCha12RngCore
[src]
impl BlockRngCore for ChaCha12RngCore
[src]impl CryptoRng for ChaCha12RngCore
[src]
impl CryptoRng for ChaCha12RngCore
[src]impl SeedableRng for ChaCha12RngCore
[src]
impl SeedableRng for ChaCha12RngCore
[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 ChaCha12RngCore
impl RefUnwindSafe for ChaCha12RngCore
impl Send for ChaCha12RngCore
impl Send for ChaCha12RngCore
impl Sync for ChaCha12RngCore
impl Sync for ChaCha12RngCore
impl Unpin for ChaCha12RngCore
impl Unpin for ChaCha12RngCore
impl UnwindSafe for ChaCha12RngCore
impl UnwindSafe for ChaCha12RngCore