babyjubjub-rs Crates.io Build Status

BabyJubJub elliptic curve implementation in Rust. Is a twisted edwards curve embedded in the curve of BN128.

BabyJubJub curve explanation: https://medium.com/zokrates/efficient-ecc-in-zksnarks-using-zokrates-bd9ae37b8186

Uses:

Compatible with the BabyJubJub Go implementation from https://github.com/iden3/go-iden3-crypto

Warning

Doing this in my free time to get familiar with Rust, do not use in production.

  • point addition
  • point scalar multiplication
  • eddsa keys generation
  • eddsa signature
  • eddsa signature verification
  • {point, pk, signature} compress&decompress parsers

References

Description
No description provided
Readme GPL-3.0 99 KiB
Languages
Rust 100%