Ripemd160 in Noir

November 11, 2025 ยท View on GitHub

License: MIT

How to use?

Add dependency to your project's Nargo.toml

[dependencies]
ripemd160 = { tag = "v0.0.4", git = "https://github.com/distributed-lab/noir-ripemd160" }

Employ in your Noir code as following

use ripemd160::ripemd160;

...

// Example
ripemd160(data);

Library Overview

Functions

  • ripemd160 - Accepts an array of bytes with any length and return 20-bytes array as hash. Data must be represented in big-endian order

  • byte_array_to_hex - Converts bytes array to hex string. Accepts 20-bytes array

Structs