Pay to Script Hash 32 (P2SH32)
A Bitcoin Cash output pattern that commits to a redeem script with a 32-byte SHA-256 hash.
- Acronym
- P2SH32
- Also known as
- P2SH32Pay-to-Script-Hash-32
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.
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.
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.
Related terms
Explore connected entries beyond the alphabetical index.
P2SH
→A script type where the output is locked to the hash of a redeem script, enabling features like multi-sig.
SHA-256
→A 256-bit cryptographic hash function used for transaction IDs, Merkle trees, and proof of work.
CashAddr
→A Bitcoin Cash address format with a network prefix, Base32 payload, type information, and error-detecting checksum.
Smart Contract
→Blockchain-enforced program or script logic that controls how assets or state may change.