pub struct ChaCha8Core { /* private fields */ }Expand description
ChaCha with 8 rounds
Trait Implementations§
Source§impl BlockRngCore for ChaCha8Core
 
impl BlockRngCore for ChaCha8Core
Source§impl Clone for ChaCha8Core
 
impl Clone for ChaCha8Core
Source§fn clone(&self) -> ChaCha8Core
 
fn clone(&self) -> ChaCha8Core
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 ChaCha8Core
 
impl Debug for ChaCha8Core
Source§impl From<ChaCha8Core> for ChaCha8Rng
 
impl From<ChaCha8Core> for ChaCha8Rng
Source§fn from(core: ChaCha8Core) -> Self
 
fn from(core: ChaCha8Core) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChaCha8Core
 
impl PartialEq for ChaCha8Core
Source§impl SeedableRng for ChaCha8Core
 
impl SeedableRng for ChaCha8Core
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 moreSource§fn from_entropy() -> Self
 
fn from_entropy() -> Self
impl CryptoRng for ChaCha8Core
impl Eq for ChaCha8Core
impl StructuralPartialEq for ChaCha8Core
Auto Trait Implementations§
impl Freeze for ChaCha8Core
impl RefUnwindSafe for ChaCha8Core
impl Send for ChaCha8Core
impl Sync for ChaCha8Core
impl Unpin for ChaCha8Core
impl UnwindSafe for ChaCha8Core
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more