[−][src]Function koibumi_core::hash::ripemd160_sha512
pub fn ripemd160_sha512(input: impl AsRef<[u8]>) -> Hash160
Performs SHA-512 on an arbitrary byte array input and then RIPEMD-160 on the previous result hash value, that is equivalent to ripemd160(sha512(input)).
Examples
use koibumi_core::hash; assert_eq!( hash::ripemd160_sha512(b"hello").to_string(), "79a324faeebcbf9849f310545ed531556882487e" );