3 releases
0.4.0 | Jan 17, 2023 |
---|---|
0.4.0-alpha.2 | Dec 28, 2022 |
0.4.0-alpha.1 | Nov 29, 2022 |
#1891 in Cryptography
112,089 downloads per month
Used in 8 crates
(3 directly)
25KB
418 lines
bandersnatch-rust
This is a reference implementation of Bandersnatch curve using Arkwork's framework in Rust. The spec of the curve is available here. There is also a Python reference implementation here, and a python wrapper of this library banderpy.
Logistics
- This code is released under MIT license.
- This code is not audited and may contain severe security flaws. Use at your own risk.
- Version 0.1.1.
- This repo is upstreamed to Arkworks curve crate.
Change log
0.1.1: use a zcash style generator 0.1.0: release
Howto
API docs
cargo doc --open
Benchmarks
cargo bench
Examples
Counting the number of constraints in group operations
cargo run --example constraint_count_bandersnatch
cargo run --example constraint_count_jubjub
cargo run --example constraint_count_bandersnatch_glv
Dependencies
~6MB
~113K SLoC