pub trait Hram<C: Curve>:
Send
+ Sync
+ Clone {
// Required method
fn hram(R: &C::G, A: &C::G, m: &[u8]) -> C::F;
}
Expand description
HRAm usable by the included Schnorr signature algorithm to generate challenges.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Hram<Ed25519> for IetfEd25519Hram
Available on crate features
ristretto
or ed25519
only.