cryptography-cafe / curve25519-elisabeth

Pure Java implementation of group operations on ristretto255 and Curve25519
Other
26 stars 9 forks source link

Field encoding and arithmetic #3

Closed str4d closed 5 years ago

str4d commented 5 years ago

Encoding/decoding, ctSelect() and arithmetic extracted from https://github.com/str4d/ed25519-java. I will be rewriting most of it later on, but it's a good starting point for the library.

Test vectors are from https://github.com/dalek-cryptography/curve25519-dalek.