logo
pub trait FromOkm {
    type Length: ArrayLength<u8>;

    fn from_okm(data: &GenericArray<u8, Self::Length>) -> Self;
}
Available on crate feature hash2curve only.
Expand description

The trait for helping to convert to a field element.

Required Associated Types

The number of bytes needed to convert to a field element.

Required Methods

Convert a byte sequence into a field element.

Implementors