pub trait VoprfParameters: PrimeCurve {
type Hash: Digest;
const ID: &'static str;
}
Available on crate feature
voprf
only.Expand description
Elliptic curve parameters used by VOPRF.
Required Associated Constants§
Sourceconst ID: &'static str
const ID: &'static str
The ID
parameter which identifies a particular elliptic curve
as defined in section 4 of draft-irtf-cfrg-voprf-19
.
Required Associated Types§
Sourcetype Hash: Digest
type Hash: Digest
The Hash
parameter which assigns a particular hash function to this
ciphersuite as defined in section 4 of draft-irtf-cfrg-voprf-19
.
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.