function hash160(buffer) {
  return ripemd160(sha256(buffer));
}
Computes the HASH160 (RIPEMD-160 after SHA-256) of the given buffer.

@param buffer - The input data to be hashed.
@returns The HASH160 of the input buffer.