Documentation
¶
Overview ¶
Package ristretto255 implements RFC9380 for the ristretto255 group, and returns points and scalar from github.com/gtank/ristretto255.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeToGroup ¶
func EncodeToGroup(input, dst []byte) *ristretto255.Element
EncodeToGroup returns a non-uniform mapping of the arbitrary input to an Element in the Ristretto255 group. The DST must not be empty or nil, and is recommended to be longer than 16 bytes.
func HashToGroup ¶
func HashToGroup(input, dst []byte) *ristretto255.Element
HashToGroup returns a safe mapping of the arbitrary input to an Element in the Ristretto255 group. The DST must not be empty or nil, and is recommended to be longer than 16 bytes.
func HashToScalar ¶
func HashToScalar(input, dst []byte) *ristretto255.Scalar
HashToScalar returns a safe mapping of the arbitrary input to a Scalar. The DST must not be empty or nil, and is recommended to be longer than 16 bytes.
Types ¶
This section is empty.