hash160
bitcoinjs-lib / hash160
Function: hash160()
hash160(
a
):Ripemd160
Defined in: packages/scrypt-ts-btc/src/smart-contract/fns/hashes.ts:20
A RIPEMD160 hash of a SHA256 hash, which is always 160 bits or 20 bytes long. This value is commonly used inside Bitcoin, particularly for Bitcoin addresses.
See: https://en.wikipedia.org/wiki/RIPEMD
Parameters
a
ByteString Data, a.k.a. pre-image, which can be any size.
Returns
The hash in the form of a string.