pub struct NonceType(/* private fields */);
Expand description
Nonce type for ECDSA and DSA.
Implementations§
source§impl NonceType
impl NonceType
sourcepub const RANDOM_K: Self = _
pub const RANDOM_K: Self = _
This is the default mode. It uses a random value for the nonce k as defined in FIPS 186-4 Section 6.3 “Secret Number Generation”.
sourcepub const DETERMINISTIC_K: Self = _
pub const DETERMINISTIC_K: Self = _
Uses a deterministic value for the nonce k as defined in RFC #6979 (See Section 3.2 “Generation of k”).
Trait Implementations§
impl StructuralPartialEq for NonceType
Auto Trait Implementations§
impl Freeze for NonceType
impl RefUnwindSafe for NonceType
impl Send for NonceType
impl Sync for NonceType
impl Unpin for NonceType
impl UnwindSafe for NonceType
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