pub struct SHAKE256_PRNG { /* private fields */ }Expand description
PRNG based on SHAKE256.
This is just a wrapper SHAKE256 itself, with an extra buffer to speed up common usage. 16-bit and 64-bit words are obtained from the corresponding number of bytes, interpreted in little-endian order.
Trait Implementations§
Source§impl Clone for SHAKE256_PRNG
impl Clone for SHAKE256_PRNG
Source§fn clone(&self) -> SHAKE256_PRNG
fn clone(&self) -> SHAKE256_PRNG
Returns a duplicate 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 SHAKE256_PRNG
impl Debug for SHAKE256_PRNG
Source§impl PRNG for SHAKE256_PRNG
impl PRNG for SHAKE256_PRNG
impl Copy for SHAKE256_PRNG
Auto Trait Implementations§
impl Freeze for SHAKE256_PRNG
impl RefUnwindSafe for SHAKE256_PRNG
impl Send for SHAKE256_PRNG
impl Sync for SHAKE256_PRNG
impl Unpin for SHAKE256_PRNG
impl UnwindSafe for SHAKE256_PRNG
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