[][src]Function koibumi_core::hash::ripemd160

pub fn ripemd160(input: impl AsRef<[u8]>) -> Hash160

Performs RIPEMD-160 on an arbitrary byte array input.

Examples

use koibumi_core::hash;

assert_eq!(
    hash::ripemd160(b"hello").to_string(),
    "108f07b8382412612c048d07d13f814118445acd"
);