hash_to_field
fun hash_to_field(expandMessage: ExpandMessageFn, p: BigInteger, L: Int, domain: ByteArray): RFC9380.HashToECScalar(source)
the hash_to_field construction as specified in RFC9380; Usage: hash_to_field(params)(input)
See also
fun hash_to_field(expandMessage: ExpandMessageFn, curve: ECCurve, domain: ByteArray): RFC9380.HashToECScalar(source)
the hash_to_field construction as specified in RFC9380; Usage: hash_to_field(params)(input)
Note that this produces an element of the underlying field (mod ECCurve.modulus).
It does not produce a random scalar multiplier (mod ECCurve.order).