This repository was archived by the owner on Aug 21, 2023. It is now read-only.
This repository was archived by the owner on Aug 21, 2023. It is now read-only.
Exercise on the Pedersen hash #140
Open
Description
Description
The native hash function in Cairo is the pedersen hash builtin.
Show how to use the hash2 function on multiple inputs.
Resource:
- https://www.cairo-lang.org/docs/how_cairo_works/builtins.html#introduction
- https://perama-v.github.io/cairo/cairo-common-library/#hash
Acceptance criteria
- The exercise show how to hash a message
- The contract compiles and tests pass
- An exercise patch is generated
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🔖 Ready