pub trait HashToCurve {
type Output;
// Required method
fn hash(
&self,
domain: &[u8],
message: &[u8],
) -> Result<Self::Output, BLSError>;
}Expand description
Trait for hashing arbitrary data to a group element on an elliptic curve