https://github.com/arnaucube/babyjubjub-rs
BabyJubJub elliptic curve implementation and EdDSA signature scheme in Rust
https://github.com/arnaucube/babyjubjub-rs
Last synced: 29 days ago
JSON representation
BabyJubJub elliptic curve implementation and EdDSA signature scheme in Rust
- Host: GitHub
- URL: https://github.com/arnaucube/babyjubjub-rs
- Owner: arnaucube
- License: apache-2.0
- Created: 2019-07-28T21:10:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T16:06:18.000Z (over 1 year ago)
- Last Synced: 2025-03-26T21:38:22.313Z (about 2 months ago)
- Language: Rust
- Homepage:
- Size: 56.6 KB
- Stars: 42
- Watchers: 4
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-circom - babyjubjub-rs - BabyJubJub elliptic curve compatible with circomlib (Cryptographic primitives / Cryptographic primitives in other languages)
README
# 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-rsCompatible 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