OP_HASH160

(169 | 0xa9)

Input

1 items

|

Output

1 items

Used P2PKH or P2SH before? Then you've directly called OP_Hash160, one of the common Bitcoin cryptographic operations. As the name implies, it's a hashing algorithim; however, as the name doesn't imply, it's actually two independent hashing algorithims that happen sequentially that returns a 20-byte / 40-hex hash. OP_Hash160 first hashes an item with the SHA256 algorithim, then, afterwards, with the RIPEMD160 algorithim.

OP_Code Walkthrough

Hashes the top item on the stack using the SHA-256 & RIPEMD-160 algorithms.

Pop top item

Apply Hash160 (sha256 then ripemd160)

Push result