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§

source

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§

source

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.

Implementors§