Skip to content

Commit

Permalink
Merge pull request #1382 from o1-labs/hashing-example-readme
Browse files Browse the repository at this point in the history
Create README.md for SHA-256 hashing example
  • Loading branch information
Trivo25 authored Jan 31, 2024
2 parents c19ea70 + cc0e391 commit fdda49c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/examples/zkapps/hashing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Hash functions under the `Hash` namespace in o1js require binary arithmetic and operate over binary data.

This example shows how to extend the `Bytes` class and specify the length of bytes.

See the [Keccak](https://docs.minaprotocol.com/zkapps/o1js/keccak) and [SHA-256](https://docs.minaprotocol.com/zkapps/o1js/sha256) documentation for o1js.

0 comments on commit fdda49c

Please sign in to comment.