pub struct Deterministic<H> { /* private fields */ }Expand description
Trait Implementations§
Source§impl<H> Clone for Deterministic<H>where
H: Clone,
impl<H> Clone for Deterministic<H>where
H: Clone,
Source§fn clone(&self) -> Deterministic<H>
fn clone(&self) -> Deterministic<H>
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<H> Debug for Deterministic<H>where
H: Debug,
impl<H> Debug for Deterministic<H>where
H: Debug,
Source§impl<H> Default for Deterministic<H>where
H: Default,
impl<H> Default for Deterministic<H>where
H: Default,
Source§fn default() -> Deterministic<H>
fn default() -> Deterministic<H>
Returns the “default value” for a type. Read more
Source§impl<H> NonceGen for Deterministic<H>where
H: Hash32,
impl<H> NonceGen for Deterministic<H>where
H: Hash32,
Source§fn begin_derivation(
&self,
secret: &Scalar<Secret, impl ZeroChoice>,
) -> <Deterministic<H> as NonceGen>::Hash
fn begin_derivation( &self, secret: &Scalar<Secret, impl ZeroChoice>, ) -> <Deterministic<H> as NonceGen>::Hash
Takes a secret
Scalar and outputs a hash. Before turining this hash into the nonce, you
must add a secret input and all the public inputs from the scheme into the hash. So for a
signature scheme for example you would add your secret key, the message and the public key.Source§impl<H> PartialEq for Deterministic<H>where
H: PartialEq,
impl<H> PartialEq for Deterministic<H>where
H: PartialEq,
Source§impl<H> Tag for Deterministic<H>where
H: Tag,
impl<H> Tag for Deterministic<H>where
H: Tag,
impl<H> StructuralPartialEq for Deterministic<H>
Auto Trait Implementations§
impl<H> Freeze for Deterministic<H>where
H: Freeze,
impl<H> RefUnwindSafe for Deterministic<H>where
H: RefUnwindSafe,
impl<H> Send for Deterministic<H>where
H: Send,
impl<H> Sync for Deterministic<H>where
H: Sync,
impl<H> Unpin for Deterministic<H>where
H: Unpin,
impl<H> UnwindSafe for Deterministic<H>where
H: UnwindSafe,
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