Skip to content
noir-langPublic

About

SHA256 Hashing Library

Resources

Stars

4 stars

Watchers

3 watching

Forks

Repository files navigation

SHA256 Hashing Library

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.

Noir Version Compatibility

This library is tested to work as of Noir v0.36.0.

Benchmarks

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.

Installation

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" }

About

SHA256 Hashing Library

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages