starkware-crypto-rs

Rust FFI bindings for StarkWare's crypto-cpp library

linting-badge tests-badge crates-badge

Note that currently target x86_64-pc-windows-msvc is not supported. If you're building on Windows, you need to use the GNU build of Rust.

Adding starkware-crypto-rs to your project

To use the crate from crates.io, add the following to your Cargo.toml file:

toml [dependencies] starkware-crypto-sys = "0.1"

Running benchmark

To run benchmark:

sh $ cargo bench

On the author's machine, the results are:

log pedersen_hash time: [267.08 us 270.36 us 274.40 us]

License

Licensed under either of

at your option.