---
title: "Discussion on \"Cairo: compute Pedersen hash of an array of felts challenge\" | Hashnode"
description: "Discussion on \"Cairo: compute Pedersen hash of an array of felts challenge\". Introduction\nCairo 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. \nThe challenge\nex_hash_chain.cairo\n// Task:\n// Develop a function that is..."
url: "https://hashnode.com/posts/cairo-compute-pedersen-hash-of-an-array-of-felts-challenge/6369f943757c1108640ad9fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cairo: compute Pedersen hash of an array of felts challenge](https://peterblockman.hashnode.dev/cairo-compute-pedersen-hash-of-an-array-of-felts-challenge?utm_source=hashnode&utm_medium=feed)

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...

Nov 8, 2022 · 3 min read · peterblockman.hashnode.dev  
Read the article

-   [#pedersen-hash](https://hashnode.com/tag/pedersen-hash)
-   [#cairo-lang](https://hashnode.com/tag/cairo-lang)
-   [#web3](https://hashnode.com/tag/web3)
-   [#starknet](https://hashnode.com/tag/starknet)

## Written by

[Peter Blockman](https://hashnode.com/@peterblockman)

@peterblockman · localhost

  
[View profile](https://hashnode.com/@peterblockman)

Blockchain developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
