add point compress&decompress, add modsqrt with Tonelli-Shanks algorithm

This commit is contained in:
arnaucube
2019-08-24 16:15:05 +02:00
parent a2122dadce
commit eb42f48c65
4 changed files with 332 additions and 61 deletions

View File

@@ -4,7 +4,7 @@ BabyJubJub elliptic curve implementation in Rust
Uses MiMC7 hash function: https://github.com/arnaucube/mimc-rs
## Warning
Doing this in my free time to get familiar with Rust, do not use in production
Doing this in my free time to get familiar with Rust, do not use in production.
- [x] point addition
- [x] point scalar multiplication