hash160_from_byte_array
Computes Bitcoin Hash160 directly from ByteArray input.
Optimized version of hash160 that works directly with ByteArray data without requiring conversion to Span first.
Arguments
data- Input data as a ByteArray reference
Returns
Array<u8>- 20-byte Hash160 result
Fully qualified path: alexandria_btc::hash::hash160_from_byte_array
pub fn hash160_from_byte_array(data: @ByteArray) -> Array<u8>