2022-02-15 22:28:14 +03:00
|
|
|
README
|
|
|
|
-------
|
|
|
|
|
|
|
|
This module provides arithmetic primitives operations that are useful to implement
|
|
|
|
cryptographic schemes over curve edwards25519, includes:
|
|
|
|
1. Arithmetic functions for point addition, doubling, negation, scalar multiplication
|
|
|
|
with an arbitrary point, with the base point, etc.
|
|
|
|
2. Arithmetic functions dealing with scalars modulo the prime order L of the base point.
|
|
|
|
|
|
|
|
This modules was port of Golang `edwards25519` library from [edwards25519](https://github.com/FiloSottile/edwards25519) to the V language.
|
|
|
|
|
|
|
|
|
|
|
|
About Edwards25519
|
|
|
|
------------------
|
|
|
|
|
2023-02-16 12:43:39 +03:00
|
|
|
Twisted Edwards curves are a family of elliptic curves allowing complete addition
|
2022-02-15 22:28:14 +03:00
|
|
|
formulas without any special case and no point at infinity.
|
|
|
|
Curve edwards25519 is based on prime 2^255 - 19 for efficient implementation.
|
|
|
|
Equation and parameters are given in RFC 7748.
|