Opcodes · crypto · enabled
OP_RIPEMD160 (0xa6)
Replaces the top item with its RIPEMD-160 hash (20 bytes).
Verified
- Stack in → out
- x → hash(x)
- Since
- Original Bitcoin script
- Cost
- Base instruction cost 100 plus result length, plus 192 per hash digest iteration under relay policy (64 under consensus); digest iterations also count toward the per-input hashing limit (2025 VM limits).
- Bitcoin status
- Same in Bitcoin (BTC)
Example
<'abc'> OP_RIPEMD160 Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.