Trait elliptic_curve::VoprfParameters
source · 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 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
.
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
.
Object Safety§
This trait is not object safe.