ark_ec::hashing::curve_maps::swu

Trait SWUConfig

Source
pub trait SWUConfig: SWCurveConfig {
    const ZETA: Self::BaseField;
}
Expand description

Trait defining the necessary parameters for the SWU hash-to-curve method for the curves of Weierstrass form of: y^2 = x^3 + a*x + b where ab != 0. From [[WB2019]]

Required Associated Constants§

Source

const ZETA: Self::BaseField

An element of the base field that is not a square root see [WB2019, Section 4]. It is also convenient to have $g(b/ZETA * a)$ to be square. In general we use a ZETA with low absolute value coefficients when they are represented as integers.

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§