Rust FFI bindings for StarkWare's crypto-cpp library
To use the crate from crates.io, add the following to your Cargo.toml
file:
toml
[dependencies]
starkware-crypto-sys = "0.1"
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]
Licensed under either of
at your option.