Trait franklin_crypto::jubjub::JubjubEngine
source · pub trait JubjubEngine: Engine {
type Fs: PrimeField + SqrtField + ToUniform;
type Params: JubjubParams<Self>;
}
Expand description
This is an extension to the pairing Engine trait which offers a scalar field for the embedded curve (Jubjub) and some pre-computed parameters.
Required Associated Types§
sourcetype Fs: PrimeField + SqrtField + ToUniform
type Fs: PrimeField + SqrtField + ToUniform
The scalar field of the Jubjub curve
sourcetype Params: JubjubParams<Self>
type Params: JubjubParams<Self>
The parameters of Jubjub and the Sapling protocol
Object Safety§
This trait is not object safe.