Function hash2field::hash_to_field [−][src]
pub fn hash_to_field<E, T, const L: usize, const COUNT: usize, const OUT: usize>(
data: &[u8],
domain: &[u8]
) -> [T; COUNT] where
E: ExpandMsg<OUT>,
T: FromOkm<L> + Default + Copy,
Expand description
Convert an arbitrary byte sequence according to https://tools.ietf.org/html/draft-irtf-cfrg-hash-to-curve-11#section-5.3