Crates.io | fawkes-crypto-bellman_ce |
lib.rs | fawkes-crypto-bellman_ce |
version | 0.3.5 |
source | src |
created_at | 2020-07-31 23:48:01.217159 |
updated_at | 2021-04-15 08:16:13.908284 |
description | zk-SNARK library |
homepage | https://github.com/zeropoolnetwork/phase2-bn254 |
repository | https://github.com/zeropoolnetwork/phase2-bn254 |
max_upload_size | |
id | 271764 |
size | 733,520 |
Forked from kobigurk/phase2-bn254.
Originally developed for ZCash, with extensions from us to make it a little more pleasant. Uses our "community edition" pairing for Ethereum's BN256 curve. Now published as bellman_ce
on crate.io
to allow ease of use.
There are two available features to be used in production and are stable and will not be changed in terms of API. Those are Groth16 proof system implementation.
multicore
feature (enabled by default) is intended to be run on PC and in environments that have support of a full std
including threading.singlecore
feature is mainly intended for WASM systems, where non-compatible external crates are removed, along with all the multithreading.Due to request to have a maintainable repo with WASM compatibility those features were implemented during the implementation of GM17 and SONIC proof systems. That's why there are two more features that are incomplete and will have breaking changes in a future. Those are for interested enthusiasts.
gm17
- is incomplete and most likely will get attention after putting SONIC to completeness.sonic
- 90% complete. Original implementation of helped
protocol is integrated with API similar to the Groth16, along with wrapping adapters to use existing circuits without any changes. unhelped
version is not yet complete, but all cryptographical primitives are implemented and tested. Right now it's a priority.It's intended to add GM17
proof system and SONIC
proof system.
There are two available features to be used in production and are stable and will not be changed in terms of API. Those are Groth16 proof system implementation.
multicore
feature (enabled by default) is intended to be run on PC and in environments that have support of a full std
including threading.singlecore
feature is mainly intended for WASM systems, where non-compatible external crates are removed, along with all the multithreading.Due to request to have a maintainable repo with WASM compatibility those features were implemented during the implementation of GM17 and SONIC proof systems. That's why there are two more features that are incomplete and will have breaking changes in a future. Those are for interested enthusiasts.
gm17
- is incomplete and most likely will get attention after putting SONIC to completeness.sonic
- 90% complete. Original implementation of helped
protocol is integrated with API similar to the Groth16, along with wrapping adapters to use existing circuits without any changes. unhelped
version is not yet complete, but all cryptographical primitives are implemented and tested. Right now it's a priority.It's intended to add GM17
proof system and SONIC
proof system.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.