modulepackage
15.0.0+incompatible
Repository: https://github.com/armfazh/h2c-go-ref.git
Documentation: pkg.go.dev
# README
RFC9380 - Hashing to Elliptic Curves
IETF Data Tracker: draft-irtf-cfrg-hash-to-curve
Internet RFC-9380: git repository
This document specifies a number of algorithms that may be used to encode or hash an arbitrary string to a point on an elliptic curve.
Reference Implementation
The purpose of this implementation is for generating test vectors and enabling cross compatibility with other implementations.
This implementation is for reference only. It MUST NOT be used in production systems.
Development branch: master
Draft versions implemented
Latest: v14
Previous: v12, v10, v08, v07, v06, v05.
Compatible Implementations
Internals
Contact
Feel free to open a github issue for anything related to the implementation, otherwise e-mail authors of the draft.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxDSTLength is the maximum allowed length for domain separatio tags.
OTHER is reserved for a user-designed expander function (not implemented).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
XMD denotes an expander based on a Merkle-Damgard hash function.
XOF denotes an expander based on an extendable output function.
# Structs
ExpanderDesc describes an expander.
# Interfaces
Expander allows to generate a pseudo-random byte string of a determined length.
HashToPoint represents a complete and secure function for hashing strings to points.
HashToScalar allows to hash string into the field of scalars used for scalar multiplication.
# Type aliases
ExpanderType identifies the type of expander function.
SuiteID is the identifier of supported hash to curve suites.