[dependencies]
ripemd160 = { tag = "v0.0.4", git = "https://github.com/distributed-lab/noir-ripemd160" }use ripemd160::ripemd160;
...
// Example
ripemd160(data);-
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
Ripemd160Hasher- Implements std::hash::Hasher trait