Struct lightning_signer::persist::SimpleEntropy
source · pub struct SimpleEntropy {}
Expand description
A simple entropy source for std environments
Implementations§
source§impl SimpleEntropy
impl SimpleEntropy
Trait Implementations§
source§impl EntropySource for SimpleEntropy
impl EntropySource for SimpleEntropy
source§fn get_secure_random_bytes(&self) -> [u8; 32]
fn get_secure_random_bytes(&self) -> [u8; 32]
Gets a unique, cryptographically-secure, random 32-byte value. This method must return a
different value each time it is called.
Auto Trait Implementations§
impl RefUnwindSafe for SimpleEntropy
impl Send for SimpleEntropy
impl Sync for SimpleEntropy
impl Unpin for SimpleEntropy
impl UnwindSafe for SimpleEntropy
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