arnaucube
arnaucube/babyjubjub-arkPublic Self-hosted repository
babyjubjub-ark/README.md
README.mdRaw
 1# babyjubjub-rs [![Crates.io](https://img.shields.io/crates/v/babyjubjub-rs.svg)](https://crates.io/crates/babyjubjub-rs) [![Build Status](https://travis-ci.org/arnaucube/babyjubjub-rs.svg?branch=master)](https://travis-ci.org/arnaucube/babyjubjub-rs)
 2BabyJubJub elliptic curve implementation in Rust
 3
 4Uses MiMC7 hash function: https://github.com/arnaucube/mimc-rs
 5
 6## Warning
 7Doing this in my free time to get familiar with Rust, do not use in production
 8
 9- [x] point addition
10- [x] point scalar multiplication
11- [x] eddsa keys generation
12- [x] eddsa signature
13- [x] eddsa signature verification
14- [ ] {point, pk, signature} compress&decompress parsers
15
16
17
18
19### References
20- JubJub curve explanation: https://z.cash/technology/jubjub/
21	- Rust: https://github.com/zkcrypto/jubjub
22	- Python: https://github.com/daira/jubjub
23- BabyJubJub curve:
24	- C++ https://github.com/barryWhiteHat/baby_jubjub_ecc
25	- Javascript & Circom: https://github.com/iden3/circomlib
26	- Go https://github.com/iden3/go-iden3-crypto