Trait HashToCurveCPU
pub trait HashToCurveCPU<C, Input>where
C: CircuitCurve,{
// Required method
fn hash_to_curve(
inputs: &[Input],
) -> <C as CircuitCurve>::CryptographicGroup;
}Expand description
Off-circuit instructions for hashing a given input of type Input into a
point of curve C.
Required Methods§
fn hash_to_curve(inputs: &[Input]) -> <C as CircuitCurve>::CryptographicGroup
fn hash_to_curve(inputs: &[Input]) -> <C as CircuitCurve>::CryptographicGroup
Hash the given input into a point on the curve.
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.