Trait oberon::inner_types::elliptic_curve::hash2curve::FromOkm
pub trait FromOkm {
type Length: ArrayLength<u8>;
// Required method
fn from_okm(data: &GenericArray<u8, Self::Length>) -> Self;
}
Expand description
The trait for helping to convert to a field element.
Required Associated Types§
type Length: ArrayLength<u8>
type Length: ArrayLength<u8>
The number of bytes needed to convert to a field element.
Required Methods§
fn from_okm(data: &GenericArray<u8, Self::Length>) -> Self
fn from_okm(data: &GenericArray<u8, Self::Length>) -> Self
Convert a byte sequence into a field element.