Skip to main content

Module group_digest

Module group_digest 

Source
Expand description

Traits for handling hash to curve.

Traits§

GroupDigest
Hash arbitrary byte sequences to a valid group element.

Functions§

encode_from_bytes
Computes the encode to curve routine. See GroupDigest::encode_from_bytes() for more details.
hash_from_bytes
Computes the hash to curve routine. See GroupDigest::hash_from_bytes() for more details.
hash_to_scalar
Computes the hash to field routine according to https://www.rfc-editor.org/rfc/rfc9380.html#section-5-4 and returns a scalar.