ark_ec::hashing::curve_maps::wb

Trait WBConfig

Source
pub trait WBConfig: SWCurveConfig + Sized {
    type IsogenousCurve: SWUConfig<BaseField = <Self as CurveConfig>::BaseField>;

    const ISOGENY_MAP: IsogenyMap<'static, Self::IsogenousCurve, Self>;
}
Expand description

Trait defining the necessary parameters for the WB hash-to-curve method for the curves of Weierstrass form of: of y^2 = x^3 + a*x + b where b != 0 but a can be zero like BLS-381 curve. From [[WB2019]]

Required Associated Constants§

Source

const ISOGENY_MAP: IsogenyMap<'static, Self::IsogenousCurve, Self>

Required Associated Types§

Source

type IsogenousCurve: SWUConfig<BaseField = <Self as CurveConfig>::BaseField>

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§