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§
- Expand
MsgXmd - Placeholder type for implementing
expand_message_xmd
based on a hash function - Expand
MsgXof - Placeholder type for implementing
expand_message_xof
based on an extendable output function - Expander
Xmd Expander
type forExpandMsgXmd
.- Isogeny
Coefficients - The coefficients for mapping from one isogenous curve to another
- Osswu
MapParams - The Optimized Simplified Shallue-van de Woestijne-Ulas parameters
Traits§
- Expand
Msg - Trait for types implementing expand_message interface for
hash_to_field
. - Expander
- Expander that, call
read
until enough bytes have been consumed. - FromOkm
- The trait for helping to convert to a field element.
- Group
Digest - Adds hashing arbitrary byte sequences to a valid group element
- Isogeny
- The
Isogeny
methods to map to another curve. - MapTo
Curve - Trait for converting field elements into a point via a mapping method like Simplified Shallue-van de Woestijne-Ulas or Elligator
- Osswu
Map - The optimized simplified Shallue-van de Woestijne-Ulas method for mapping elliptic curve scalars to affine points.
- Sgn0
- Trait for determining the parity of the field