Source code
A reference implementation in Python 3 for Curve25519 and Curve448.
- elligator.py: The map and inverse map.
- core.py: Core curve code & utilities.
- curve25519.py: Curve25519 specific code and parameters.
- curve448.py: Curve448 specific code and parameters.
- hash_to_curve25519.py: Map random numbers to a Curve25519 points.
- gen_vectors.py: generate test vectors (mostly boilerplate).