hash160
Computes Bitcoin Hash160 (RIPEMD160(SHA256(data))) from input data.
Implements the standard Bitcoin Hash160 function used for address generation and script operations. Applies SHA256 followed by RIPEMD160 to produce a 20-byte hash output.
Arguments
data- Input data to hash as a span of bytes
Returns
Array<u8>- 20-byte Hash160 result
Fully qualified path: alexandria_btc::hash::hash160
pub fn hash160(data: Span<u8>) -> Array<u8>