Function hash_to_curve::p256_hash::hash_to_scalar
source · pub fn hash_to_scalar(
msg: &[u8],
dst: &[u8],
count: usize
) -> Result<Vec<P256Scalar>, Error>
Expand description
Hash a message to a P256 scalar.
pub fn hash_to_scalar(
msg: &[u8],
dst: &[u8],
count: usize
) -> Result<Vec<P256Scalar>, Error>
Hash a message to a P256 scalar.