hash_to_curve

Function hash_to_curve 

Source
pub fn hash_to_curve(message: &[u8]) -> Result<PublicKey, Error>
Expand description

Deterministically maps a message to a public key point on the secp256k1 curve, utilizing a domain separator to ensure uniqueness.

For definationn in NUT see NUT-00