mirror of
https://github.com/arnaucube/babyjubjub-rs.git
synced 2026-02-03 00:46:39 +01:00
- update poseidon-rs to v0.0.5 - remove TravisCI and add GithubAction for tests - remove mimc-rs support
26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
# babyjubjub-rs [](https://crates.io/crates/babyjubjub-rs) [](https://github.com/arnaucube/babyjubjub-rs/actions?query=workflow%3ATest)
|
|
|
|
BabyJubJub elliptic curve implementation in Rust. A twisted edwards curve embedded in the curve of BN128/BN256.
|
|
|
|
BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186
|
|
|
|
Uses:
|
|
- Poseidon hash function https://github.com/arnaucube/poseidon-rs
|
|
|
|
Compatible with the BabyJubJub implementations in:
|
|
- Go, from https://github.com/iden3/go-iden3-crypto
|
|
- circom & javascript, from https://github.com/iden3/circomlib
|
|
|
|
## Warning
|
|
Doing this in my free time, **do not use in production**.
|
|
|
|
### References
|
|
- BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186
|
|
- C++ & Explanation https://github.com/barryWhiteHat/baby_jubjub
|
|
- C++ https://github.com/barryWhiteHat/baby_jubjub_ecc
|
|
- Javascript & Circom: https://github.com/iden3/circomlib
|
|
- Go https://github.com/iden3/go-iden3-crypto
|
|
- JubJub curve explanation: https://z.cash/technology/jubjub/
|
|
- Rust: https://github.com/zkcrypto/jubjub
|
|
- Python: https://github.com/daira/jubjub
|