Warning
This library has not been reviewed by the Noir team and is unaudited. Use at your own risk.
Library that implements SHA512 and SHA384
This library is tested against all stable versions of noir from 1.0.0-beta.3.
Benchmarks are ignored by git
and checked on pull-request. As such, benchmarks may be generated
with the following command.
# execute the following
./scripts/build-gates-report.sh
The benchmark will be generated at ./gates_report.json
.
Current benchmarks as of 1 Mar 2025
num blocks hashed | num bytes hashed | gates for sha512::hash |
gates for sha512::digest_var |
---|---|---|---|
1 block | 111 | 39,476 | 41,261 |
2 blocks | 239 | 66,927 | |
3 blocks | 367 | 94,377 | 98,355 |
4 blocks | 495 | 121,826 | 126,914 |
In your Nargo.toml file, add the version of this library you would like to install under dependency:
[dependencies]
sha512 = { tag = "v0.1.0", git = "https://github.com/noir-lang/sha512" }