This is an interactive explainer and toy model of SegWit PQSB, a method to spend SegWit outputs on Bitcoin that is quantum safe. In this toy model we represent PQSB as a series of gates that are unlocked by solving puzzles. This is easy for the owner of an output, but hard for an adversary.
| This toy | A real lock | |
|---|---|---|
| Secrets | a pool of 24 to 48 | a pool of 88 |
| Gates | 1 to 4 | 10: four accept 58 bytes, six accept 59 |
| Hashes of the transaction | one more than the gates | 11 |
| One signature fits | 1 time in 16, 64 or 256 | 1 time in 128 at a gate of 59 bytes, 32,768 at a gate of 58 |
| The owner's search | tens of tries | about 2^38 tries, about 3 minutes on one RTX 5090 |
| The adversary's search | thousands of tries | about 2^80 tries, by the proved bound |