struct NonceRandom<'a> {
key: &'a NonceRandomKey,
message_digest: &'a Digest,
rng: &'a dyn SecureRandom,
}
Expand description
Generates an ECDSA nonce in a way that attempts to protect against a faulty
SecureRandom
.
Fields§
§key: &'a NonceRandomKey
§message_digest: &'a Digest
§rng: &'a dyn SecureRandom
Trait Implementations§
source§impl Debug for NonceRandom<'_>
impl Debug for NonceRandom<'_>
source§impl SecureRandom for NonceRandom<'_>
impl SecureRandom for NonceRandom<'_>
impl<'a> Sealed for NonceRandom<'a>
Auto Trait Implementations§
impl<'a> Freeze for NonceRandom<'a>
impl<'a> !RefUnwindSafe for NonceRandom<'a>
impl<'a> !Send for NonceRandom<'a>
impl<'a> !Sync for NonceRandom<'a>
impl<'a> Unpin for NonceRandom<'a>
impl<'a> !UnwindSafe for NonceRandom<'a>
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