bandersnatch

Crates.iobandersnatch
lib.rsbandersnatch
version0.1.1
sourcesrc
created_at2021-07-28 15:35:24.886984
updated_at2021-07-29 19:12:49.545329
descriptionBandersnatch: a curve defined over the scalar field of the BLS12-381 curve
homepage
repositoryhttps://github.com/zhenfeizhang/bandersnatch
max_upload_size
id428416
size91,001
zhenfei (zhenfeizhang)

documentation

README

bandersnatch-rust

GitHub branch checks state docs.rs Crates.io (version) GitHub

This is a reference implementation of Bandersnatch curve using Arkwork's framework in Rust. The spec of the curve is available here. There was also a Python reference implementation here.

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
Commit count: 38

cargo fmt