pub fn hash_to_point(msg: &Octets, dst: &Octets) -> G2AffinePoint
Expand description

(spec link) A cryptographic hash function that takes as input an arbitrary octet string and returns a point on an elliptic curve. Functions of this kind are defined in hash-to-curve-spec.

Note: given we’re using the “minimal-pubkey-size” variant of the spec, this function must output a point in G2.

XXX: this function doesn’t take DST as an argument in the spec. It should!