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