NillionNetwork/nada-by-example

Implement the Poseidon hash function

Open

#14 opened on Aug 13, 2024

 (0 comments) (0 reactions) (0 assignees)Python (10 forks)auto 404
enhancementhacktoberfesthelp wanted

Repository metrics

Stars
 (11 stars)
PR merge metrics
 (PR metrics pending)

Description

Request a New Nada Example

Description

We are looking to implement the Poseidon cryptographic hash function in Nada. One of the key advantages of Poseidon is that it doesn’t rely on bitwise arithmetic, making it well-suited for Nada.

Use Case

Poseidon is specifically designed for use in zero-knowledge proof systems like zk-SNARKs, where secure and efficient hashing is essential. Implementing Poseidon in Nada will enable developers to integrate this hash function into privacy-focused protocols and applications, enhancing the cryptographic capabilities of the platform.

Specific Requirements

Inputs and Outputs:

  • use any convention for representing inputs and outputs
  • use “known” test vectors to verify the correctness of their implementation. Test vectors are specific input-output pairs like the Poseidon test vectors here

Contributor guide