Struct schnorr_fun::nonce::Deterministic [−][src]
pub struct Deterministic<H> { /* fields omitted */ }
Expand description
Trait Implementations
Tells the invocant to return a new version of itself modified with the
tag. This is to ensure that a NonceGen
does not produce the
same outputs for two different tags even if they have the same
public inputs. Read more
Returns the “default value” for a type. Read more
impl<H> NonceGen for Deterministic<H> where
H: Tagged + Digest<OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>> + Clone,
impl<H> NonceGen for Deterministic<H> where
H: Tagged + Digest<OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>> + Clone,
type Hash = H
type Hash = H
The type of hash that begin_derivation
will return.
pub fn begin_derivation(
&self,
secret: &Scalar<Secret, NonZero>
) -> <Deterministic<H> as NonceGen>::Hash
pub fn begin_derivation(
&self,
secret: &Scalar<Secret, NonZero>
) -> <Deterministic<H> as NonceGen>::Hash
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Returns a new instance of the invocant that will be marked with M
. Read more
type Output = T
type Output = T
Should always be Self