Documentation
¶
Overview ¶
Package elligator2 implements the Elligator 2 forward/reverse mapping for Curve25519. This implementation does NOT interoperate with the original codebase as the original codebase is wrong.
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrKeygenFailed is the error returned when a suitable base keypair was not generated after the maximum number of retries.
Functions ¶
func GenerateKey ¶
GenerateKey generates a Curve25519 key pair along with a uniform representative for the public key, using the random source random (Hint: crypto/rand.Reader).
Types ¶
This section is empty.
Source Files
¶
- elligator2.go
Click to show internal directories.
Click to hide internal directories.