[][src]Trait pairing_plus::hash_to_field::BaseFromRO

pub trait BaseFromRO {
    type BaseLength: ArrayLength<u8>;
    fn from_okm(okm: &GenericArray<u8, Self::BaseLength>) -> Self;
}

Generate an element of a base field for a random string of bytes (used by FromRO for extension fields).

Associated Types

type BaseLength: ArrayLength<u8>

Loading content...

Required methods

fn from_okm(okm: &GenericArray<u8, Self::BaseLength>) -> Self

Loading content...

Implementors

impl BaseFromRO for Fq[src]

type BaseLength = U64

impl BaseFromRO for Fr[src]

type BaseLength = U48

Loading content...