Struct rand_chacha::ChaCha8Core [−][src]
pub struct ChaCha8Core { /* fields omitted */ }
ChaCha with 8 rounds
Trait Implementations
impl BlockRngCore for ChaCha8Core
[src]
impl BlockRngCore for ChaCha8Core
[src]impl Clone for ChaCha8Core
[src]
impl Clone for ChaCha8Core
[src]fn clone(&self) -> ChaCha8Core
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ChaCha8Core> for ChaCha8Rng
[src]
impl From<ChaCha8Core> for ChaCha8Rng
[src]fn from(core: ChaCha8Core) -> Self
[src]
impl SeedableRng for ChaCha8Core
[src]
impl SeedableRng for ChaCha8Core
[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,