[−][src]Crate hash2curve
This implements the hash to curve as described in https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve/?include_text=1
The idea is to offer concrete methods for hashing arbitrary input to a point on an elliptic curve used in cryptography.
As much as possible, the interfaces, structs, and traits have been modeled after
the RustCrypto digest
crate at https://docs.rs/digest/
These methods do not cover serialization or deserialization according to http://www.secg.org/sec1-v2.pdf
Modules
error | Errors generated by this crate |
Structs
DomainSeparationTag | Represents a domain separation tag suitable for use in
|
Constants
MAX_DMS_SIZE | The longest the domain separation tag can be in bytes |
MIN_DMS_PROTOCOL_ID_SIZE | The minimum length for a protocol id. |
Traits
HashToCurveXmd | The |
HashToCurveXof | The |