Library providing privacy enhancing cryptographic primitives.
The proof system that uses above-mentioned primitives.
cargo build or cargo build --release
By default, it uses standard library and rayon for parallelization
To build with standard library but without parallelization, use cargo build --no-default-features --features=std
For no_std support, build as cargo build --no-default-features --features=wasmer-sys
For WASM, build as cargo build --no-default-features --features=wasmer-js --target wasm32-unknown-unknown
cargo test
The above maybe slower as it runs the tests in debug mode and some tests work on large inputs.
For running tests faster, run cargo test --release
Some tests also print time consumed by the operations, run cargo test --release -- --nocapture [test name]
A WASM wrapper has been created over this repo here. The wrapper is then used to create this Typescript library which is more ergonomic than using the wrapper as the wrapper contains free floating functions. The Typescript wrapper also contains abstractions for anonymous credentials like schemas, credentials, presentations, etc.
$ claude mcp add crypto \
-- python -m otcore.mcp_server <graph>