Claim: P2MR's key-type bitmask allows a hybrid output that requires both a classical Schnorr signature and a post-quantum signature (for example ML-DSA). The hybrid is the safest migration path because the classical signature keeps the output spendable today while the PQ signature is already in place for the day a quantum computer arrives. But it pays both sizes at once (64 plus 2,420 bytes), so it is the most expensive option and only makes sense for high-value UTXOs.
Reasoning:
- BIP-360 (Pay-to-Merkle-Root, formerly P2QRH) does not force a choice between classical and post-quantum. A key-type bitmask in the hash identifies which digital signature algorithms are included in the output, and a threshold says how many signatures are required. So one output can mix classical Schnorr and post-quantum keys (FN-DSA, ML-DSA or SLH-DSA) in the same output, like a multisig with a combination of classical and PQ crypto.
- A 2-of-2 hybrid (one Schnorr signature plus one ML-DSA signature) has a concrete migration advantage: the output is spendable today using the Schnorr signature alone in the sense that the classical path works with existing wallets and infrastructure, while the ML-DSA signature is already committed to in the output. When a PQ signature opcode activates, the same output can be spent with the PQ signature. The holder does not need to move the coins a second time to add quantum resistance.
- The cost is additive. A Schnorr signature is 64 bytes. An ML-DSA-44 signature is 2,420 bytes. A hybrid spend carries both, so the signature payload is about 2,484 bytes before the control block and script. That is about 39x a lone Schnorr signature. With FALCON-512 (666 bytes) the hybrid is about 730 bytes (about 11x Schnorr). With SLH-DSA (7,856 bytes) the hybrid is about 7,920 bytes (about 124x Schnorr). So the hybrid only makes sense where the value at stake justifies the fee.
- The hybrid also hedges algorithm risk. If ML-DSA were later broken, the output still has the Schnorr signature, and vice versa. A single-algorithm output has a single point of cryptographic failure. A 2-of-2 hybrid requires an attacker to break both schemes. That is the strongest security posture available under P2MR, at the highest on-chain cost.
Tradeoffs and what argues against it:
- The hybrid is the most expensive option per spend. For ordinary payments it is uneconomical; it only makes sense for high-value, long-lived UTXOs (cold storage, treasury, exchange reserves) where the fee is negligible relative to the value protected.
- A 2-of-2 hybrid is only as strong as its weaker path if the threshold is misconfigured. If the output is set as 1-of-2 (either Schnorr OR ML-DSA suffices), then a quantum attacker who breaks Schnorr can spend it alone, and the PQ signature adds nothing. The hybrid only helps if the threshold requires the PQ signature (2-of-2, or a threshold that includes it).
- The hybrid does not solve the mempool problem on its own. Spending a hybrid output still reveals the Schnorr public key in the mempool. A quantum attacker could front-run the spend by deriving the Schnorr key. The PQ signature protects the output at rest, but the spend itself is still exposed through the classical half unless the spend is done via a commit-reveal or the classical half is also replaced.
- Operational complexity: wallets must manage two key types, two signing paths and a larger witness. That is more code, more testing and more room for implementation bugs than a single-signature output. For most users a single PQ signature (once standardised) is simpler and cheaper.