mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-01-18 10:32:22 +00:00
G
95352a4a7c
RLN: Update Rust and C API (#20)
* fix(rln): ignore dirty rln submodule * feat(rln): add RLN witness & proof values byte serialization/deserialization * feat(RLN): add Merkle-tree public APIs * fix(rln): use references to avoid unnecessary clone() * fix(rln): fix rust public API, code refactor * fix(rln): change vector length serialization from usize to u64; add random witness generation * feat(rln): add C APIs * chore(rln): cargo format/clippy * feat(rln): add C APIs tests * chore(rln): minor code restyling * refactor(rln): change &Vec<u8> to &[u8] (avoids new object creation)
Zerokit
A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.
Initial scope
Focus on RLN and being able to use Circom based version through ark-circom, as opposed to the native one that currently exists in Rust.
Acknowledgements
-
Uses ark-circom, Rust wrapper around Circom.
-
Inspired by Applied ZKP group work, e.g. zk-kit.
-
RLN library written in Rust based on Bellman.
-
semaphore-rs written in Rust based on ark-circom.
Description
A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.
Languages
Rust
98.6%
JavaScript
1.3%
Makefile
0.1%