Function oprf::p256_sha256::hash_to_group
source · pub fn hash_to_group(
bytes: &[u8],
context_string: &[u8]
) -> Result<P256Point, Error>
Expand description
HashToGroup(): Use hash_to_curve with suite P256_XMD:SHA-256_SSWU_RO_ [I-D.irtf-cfrg-hash-to-curve] and DST = “HashToGroup-” || contextString.