# Functions
EllipticPointHasherBlake2b creates a point hasher that uses Blake2b.
EllipticPointHasherSha256 creates a point hasher that uses Sha256.
EllipticPointHasherSha3256 creates a point hasher that uses Sha3256.
EllipticPointHasherSha3384 creates a point hasher that uses Sha3384.
EllipticPointHasherSha3512 creates a point hasher that uses Sha3512.
EllipticPointHasherSha512 creates a point hasher that uses Sha512.
EllipticPointHasherShake128 creates a point hasher that uses Shake128.
EllipticPointHasherShake256 creates a point hasher that uses Shake256.
ExpandMsgXmd expands the msg with the domain to output a byte array with outLen in size using a fixed size hash.
ExpandMsgXof expands the msg with the domain to output a byte array with outLen in size using a xof hash See https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-hash-to-curve-13#section-5.4.2.
Pow raises base^exp.
Pow2k raises arg to the power `2^k`.
# Constants
No description provided by the author
FieldBytes is the number of bytes needed to represent this field.
FieldLimbs is the number of limbs needed to represent this field.
MaxDstLen the max size for dst in hash to curve.
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
WideFieldBytes is the number of bytes needed for safe conversion to this field to avoid bias when reduced.
XMD - use ExpandMsgXmd.
XOF - use ExpandMsgXof.
# Variables
OversizeDstSalt is the salt used to hash a dst over MaxDstLen.
# Structs
EllipticPoint represents a Weierstrauss elliptic curve point.
EllipticPointHasher is the type of hashing methods for hashing byte sequences to curve point.
EllipticPointParams are the Weierstrauss curve parameters such as the name, the coefficients the generator point, and the prime bit size.
Field represents a field element.
FieldParams are the field parameters.
IsogenyParams are the parameters needed to map from an isogeny to the main curve.
SswuParams for computing the Simplified SWU mapping for hash to curve implementations.
# Interfaces
EllipticPointArithmetic are the methods that specific curves need to implement for higher abstractions to wrap the point.
FieldArithmetic are the methods that can be done on a field.
# Type aliases
EllipticPointHashName is to indicate the hash function is used for hash to curve operations.
EllipticPointHashType is to indicate which expand operation is used for hash to curve operations.