pub type ChaChaCore = ChaCha20Core;
Expand description
ChaCha with 20 rounds, low-level interface
Aliased Type§
struct ChaChaCore { /* private fields */ }
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes
Trait Implementations
Source§impl BlockRngCore for ChaCha20Core
impl BlockRngCore for ChaCha20Core
Source§impl Clone for ChaCha20Core
impl Clone for ChaCha20Core
Source§fn clone(&self) -> ChaCha20Core
fn clone(&self) -> ChaCha20Core
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChaCha20Core
impl Debug for ChaCha20Core
Source§impl PartialEq for ChaCha20Core
impl PartialEq for ChaCha20Core
Source§impl SeedableRng for ChaCha20Core
impl SeedableRng for ChaCha20Core
Source§type Seed = [u8; 32]
type Seed = [u8; 32]
Seed type, which is restricted to types mutably-dereferenceable as
u8
arrays (we recommend [u8; N]
for some N
). Read moreSource§fn seed_from_u64(state: u64) -> Self
fn seed_from_u64(state: u64) -> Self
Create a new PRNG using a
u64
seed. Read moreSource§fn from_rng<R>(rng: R) -> Result<Self, Error>where
R: RngCore,
fn from_rng<R>(rng: R) -> Result<Self, Error>where
R: RngCore,
Create a new PRNG seeded from another
Rng
. Read more