Skip to main content

Pay to Script Hash 32 (P2SH32)

bitcoin-cash
script
technical

A Bitcoin Cash output pattern that commits to a redeem script with a 32-byte SHA-256 hash.

Acronym
P2SH32
Also known as
P2SH32
Pay-to-Script-Hash-32
1
general

Pay to Script Hash 32 (P2SH32) is a Bitcoin Cash script-hash output type activated in May 2023. The output commits to a redeem script using a 32-byte SHA-256 digest; the spender later reveals and satisfies that script.

2
comparison

Legacy P2SH uses a 20-byte HASH160 commitment. P2SH32 retains the receive-now, reveal-at-spend model while using the full 32-byte SHA-256 output, increasing collision resistance for applications that treat the script hash as a security commitment.

3
scope

P2SH32 does not make the underlying contract correct or private. The redeem script becomes public when spent, and wallet compatibility, fee size, contract review, and key management remain separate concerns.

P2SH32 proposal

Related terms

Explore connected entries beyond the alphabetical index.

All terms and definitions may update as the Cryptionary improves.