Cairo: compute Pedersen hash of an array of felts challenge
Introduction
Cairo provides a built-in hash2 function to calculate the Pedersen hash of two felts. In this challenge, we will recursively compute the hash of an array of felts.
The challenge
ex_hash_chain.cairo
// Task:
// Develop a function that is...
peterblockman.hashnode.dev3 min read