You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.4 KiB

  1. # babyjubjub-ark [![Test](https://github.com/arnaucube/babyjubjub-ark/workflows/Test/badge.svg)](https://github.com/arnaucube/babyjubjub-ark/actions?query=workflow%3ATest)
  2. > **Note**: this repo is a fork from https://github.com/arnaucube/babyjubjub-rs , porting it to arkworks [ff](https://github.com/arkworks-rs/algebra/tree/master/ff).
  3. BabyJubJub elliptic curve implementation in Rust. A twisted edwards curve embedded in the curve of BN128/BN256.
  4. BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186
  5. Uses:
  6. - Poseidon hash function https://github.com/arnaucube/poseidon-ark
  7. Compatible with the BabyJubJub implementations in:
  8. - Go, from https://github.com/iden3/go-iden3-crypto
  9. - circom & javascript, from https://github.com/iden3/circomlib
  10. ## Warning
  11. Doing this in my free time, **do not use in production**.
  12. ### References
  13. - BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186
  14. - C++ & Explanation https://github.com/barryWhiteHat/baby_jubjub
  15. - C++ https://github.com/barryWhiteHat/baby_jubjub_ecc
  16. - Javascript & Circom: https://github.com/iden3/circomlib
  17. - Go https://github.com/iden3/go-iden3-crypto
  18. - JubJub curve explanation: https://z.cash/technology/jubjub/
  19. - Rust: https://github.com/zkcrypto/jubjub
  20. - Python: https://github.com/daira/jubjub