arnaucube 04d20b9e05 Update sign&verify (poseidon) to last optimization
(On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM)

- before:
```
sign_poseidon           time:   [383.01 ms 384.46 ms 385.98 ms]
verify_poseidon         time:   [250.56 ms 251.46 ms 252.43 ms]
```

- current:
```
sign_poseidon           time:   [973.38 us 973.83 us 974.41 us]
verify_poseidon         time:   [835.34 us 839.94 us 845.29 us]
```

sign_poseidon: `394x` improvement
verify_poseidon: `300x` improvement
2020-08-02 16:23:40 +02:00
2019-07-28 21:18:08 +02:00
2019-08-04 14:16:51 +02:00
2019-07-28 21:18:08 +02:00
2019-09-09 20:42:17 +02:00

babyjubjub-rs Crates.io Build Status

BabyJubJub elliptic curve implementation in Rust. 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%