babyjubjub-rs/README.md
README.mdRaw
1# babyjubjub-rs [](https://crates.io/crates/babyjubjub-rs) [](https://github.com/arnaucube/babyjubjub-rs/actions?query=workflow%3ATest)
2
3BabyJubJub elliptic curve implementation in Rust. A twisted edwards curve embedded in the curve of BN128/BN256.
4
5BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186
6
7Uses:
8- Poseidon hash function https://github.com/arnaucube/poseidon-rs
9
10Compatible with the BabyJubJub implementations in:
11- Go, from https://github.com/iden3/go-iden3-crypto
12- circom & javascript, from https://github.com/iden3/circomlib
13
14## Warning
15Doing this in my free time, **do not use in production**.
16
17### References
18- BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186
19 - C++ & Explanation https://github.com/barryWhiteHat/baby_jubjub
20 - C++ https://github.com/barryWhiteHat/baby_jubjub_ecc
21 - Javascript & Circom: https://github.com/iden3/circomlib
22 - Go https://github.com/iden3/go-iden3-crypto
23- JubJub curve explanation: https://z.cash/technology/jubjub/
24 - Rust: https://github.com/zkcrypto/jubjub
25 - Python: https://github.com/daira/jubjub