Module elliptic_curve::hash2curve
source · Available on crate feature
hash2curve
only.Expand description
Traits for hashing byte sequences to curve points.
https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve
Structs
- Placeholder type for implementing
expand_message_xmd
based on a hash function - Placeholder type for implementing
expand_message_xof
based on an extendable output function Expander
type forExpandMsgXmd
.- The coefficients for mapping from one isogenous curve to another
- The Optimized Simplified Shallue-van de Woestijne-Ulas parameters
Traits
- Trait for types implementing expand_message interface for
hash_to_field
. - Expander that, call
read
until enough bytes have been consumed. - The trait for helping to convert to a field element.
- Adds hashing arbitrary byte sequences to a valid group element
- The
Isogeny
methods to map to another curve. - Trait for converting field elements into a point via a mapping method like Simplified Shallue-van de Woestijne-Ulas or Elligator
- The optimized simplified Shallue-van de Woestijne-Ulas method for mapping elliptic curve scalars to affine points.
- Trait for determining the parity of the field