Warning
This library is experimental software. It has not been fully audited and is not guaranteed to be secure. Expect bugs!
sha256 is provided "as is", without warranty of any kind (see LICENSE). Bugs in this library can lead to under-constrained circuits, allowing invalid proofs to be accepted. Do not rely on it to protect real assets or sensitive data without your own independent review.
If you find a vulnerability, please do not open a public issue. Report it privately via GitHub's "Report a vulnerability" form instead.
This package contains the SHA256 hashing interface, formerly in the Noir standard library.
This library is tested to work as of Noir v0.36.0.
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.shThe benchmark will be generated at ./gates_report.json.
In Nargo.toml, add the version of this library desired to install the dependency:
[dependencies]
sha256 = { tag = "v0.1.0", git = "https://github.com/noir-lang/sha256" }