Type Alias decaf377::Fq

pub type Fq = Fp<MontBackend<FrConfig, 4>, 4>;

Aliased Type§

struct Fq(pub BigInt<4>, _);

Fields§

§0: BigInt<4>

Trait Implementations§

source§

impl FieldExt for Fq

source§

fn to_bytes(&self) -> [u8; 32]

Serializes an element to 32 bytes.
source§

fn from_bytes(bytes: [u8; 32]) -> Result<Self, EncodingError>

Deserializes an element from 32 bytes.
source§

impl SqrtRatioZeta for Fq

source§

fn sqrt_ratio_zeta(num: &Self, den: &Self) -> (bool, Self)

Computes the square root of a ratio of field elements, returning: Read more