[−][src]Function bitcoin_spv::btcspv::hash160
pub fn hash160(preimage: &[u8]) -> Hash160Digest
Implements bitcoin's hash160 (rmd160(sha2())). Returns the digest.
Arguments
preimage
- The pre-image
pub fn hash160(preimage: &[u8]) -> Hash160Digest
Implements bitcoin's hash160 (rmd160(sha2())). Returns the digest.
preimage
- The pre-image