Crates.io | bellman |
lib.rs | bellman |
version | 0.14.0 |
source | src |
created_at | 2015-12-24 09:57:06.8694 |
updated_at | 2023-03-20 18:49:41.531326 |
description | zk-SNARK library |
homepage | https://github.com/zkcrypto/bellman |
repository | https://github.com/zkcrypto/bellman |
max_upload_size | |
id | 3742 |
size | 345,148 |
bellman
is a crate for building zk-SNARK circuits. It provides circuit traits
and primitive structures, as well as basic gadget implementations such as
booleans and number abstractions.
bellman
uses the ff
and group
crates to build circuits generically over a
scalar field type, which is used as the "word" of a circuit. Arithmetic
operations modulo the scalar field's prime are efficient, while other operations
(such as boolean logic) are implemented using these words.
Currently bellman
bundles an implementation of the Groth16 proving system.
This will be moved into a separate crate in the future, and bellman
will
contain any utilities that make implementing proving systems easier.
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.