Post-quantum cryptography, adversarial mathematics and distributed monetary systems.
Written opening lesson and Session 01, Chapters 1–3 videos available. Nine sessions planned; remaining videos, implementations and testnet are not yet available. No real money, token sale or investment advice. All experiments use synthetic keys and valueless test assets.
Patchouli teaches the mathematics, Suika Ibuki co-lectures on adversarial reasoning, and Remilia Scarlet examines monetary systems and governance. Koakuma checks the evidence. Cirno returns for adversarial testing in Session 09.
| Session | Subject | Deliverable |
|---|---|---|
| 01 | How Bitcoin could die Audit ownership, public-key exposure, hashing, consensus and governance; distinguish price collapse from cryptographic failure. | Threat model and vulnerability matrix |
| 02 | Quantum-resistant wallets Compare ML-DSA and SLH-DSA; benchmark key generation, signing, verification and storage. | Keys, locks and storage using maintained libraries |
| 03 | No single point of failure Require independent signatures over the same canonical transaction; examine common-mode failures and downgrade resistance. | Two independently implemented hybrid transaction verifiers |
| 04 | Consensus after quantum computing Compare proof of work and proof of stake, resource concentration, finality and quantum speedups. | Consensus simulator |
| 05 | When mathematics betrays you Design versioned policies, precommitted recovery keys, activation rules and migration before compromise. | Migration state machine |
| 06 | Economics of computational power Model issuance, fees, spam, verification costs and adversarial resource concentration. | Economic stress simulator |
| 07 | Privacy after the quantum revolution Compare confidentiality, linkability and proof assumptions; avoid claiming existing zero-knowledge schemes are quantum safe. | Privacy threat model and toy prototype |
| 08 | Build the cryptocurrency Integrate deterministic validation, networking, wallets, consensus and migration. | Local multi-node testnet |
| 09 | Destroy the cryptocurrency Inject simulated primitive failures, malformed transactions, partitions and upgrade disputes; document recovery limits. | Reproducible adversarial test report |
Start here even if you already know how computers work. The challenge is to identify which assumptions must remain true for ownership, supply and settlement to remain trustworthy.
Bitcoin nodes validate spending conditions, not personal identities. ECDSA and Schnorr signatures use secp256k1. Early pay-to-public-key outputs and Taproot outputs expose a public key immediately; hash-locked outputs reveal their key when spent, potentially before confirmation. A practical discrete-log attack could threaten exposed keys, but a falling price is not evidence of such an attack. Shor's algorithm threatens elliptic-curve cryptography on a sufficiently capable fault-tolerant quantum computer; Grover's algorithm offers a different, quadratic search advantage under idealised assumptions.
Signature failure can enable forged authorisations; hash failure depends on whether collision, preimage or second-preimage resistance fails. Consensus failure can permit censorship or reorganisations without necessarily permitting arbitrary theft. Wallet compromise can bypass otherwise sound mathematics. None of these automatically implies the others.
ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) are signature standards based on module lattices and hash functions respectively. Both schemes and the ledger depend on hash functions, so their independence is limited. ML-KEM (FIPS 203) establishes shared secrets; it is not a transaction signature. Requiring both independent signatures over the same domain-separated transaction may preserve authorisation if one fails, provided the other remains secure and implementation and policy cannot be bypassed. Larger signatures increase bandwidth and verification costs. Losing either required key or encountering a verifier that rejects valid signatures can prevent spending. Migration after all authorisation mechanisms fail cannot distinguish owners from forgers.
Claude’s independent review reports a theoretical quantum algorithm for certain module-lattice problems, not a practical break of standardized parameters. The original papers were not inspected by the reviewer; this is a provisional account, not evidence that Bitcoin or NIST standards have been broken.
1. Signing authenticates a message; encryption protects confidentiality. 2. A public key is intended for disclosure, whereas the private key enables secret operations. 3. Signature forgery and consensus reorganisation are distinct examples.
Session 01 cast: Patchouli Knowledge, Suika Ibuki and Remilia Scarlet. Japanese audio with English subtitles. Chapters 1–3 are available below; the remaining chapters are in production.
Japanese audio · English subtitles · 60 fps
Review the two lecture slides. Select any image to open the full-resolution PNG in a new tab.
Japanese audio · English subtitles · 60 fps
Review the two lecture slides. Select any image to open the full-resolution PNG in a new tab.
Japanese audio · English subtitles · 60 fps
Review the two lecture slides. Select any image to open the full-resolution PNG in a new tab.
All currently available chapters play consecutively in this player. Use the buttons to move between chapters.
This is a logical policy simulator, not cryptographic software. Assume an attacker has no legitimate keys, can forge any failed signature, and cannot bypass the verifier.
Availability check: if either legitimate key is lost, AND spending fails; OR can still spend with the remaining key but is vulnerable if either scheme is forgeable. A shared verifier bug can freeze or compromise both paths. Hash-function failure is outside this simulator.
With neither failure all policies reject a forger. With lattice failure only, AND rejects while OR and lattice-only accept. With hash failure only, AND and lattice-only reject while OR accepts. With both failures all accept. The model assumes an intact verifier and does not simulate legitimate signing failures.
Written tutorial available; video pending. Attempt each problem before revealing the worked solution.
Compare an unspent output exposing a public key with one committing only to a public-key hash. Assume a practical discrete-log attack but no hash preimage attack.
The exposed key is directly vulnerable. The hash commitment may delay exposure until spending, but does not guarantee safety during broadcast or against previously exposed or reused keys.
For both, either and lattice-only policies, determine whether an attacker can forge a spend when only the lattice signature fails. Repeat for both failures.
With only lattice failure: both rejects, either accepts, lattice-only accepts. With both failures all three accept. AND protects authorisation under the stated independent-failure model but can reduce availability.
Assume ML-DSA-87 (category 5) has a 2592-byte public key and 4627-byte signature; SLH-DSA-SHA2-128s (category 1) has a 32-byte public key and 7856-byte signature. A transaction reveals both keys and signatures plus 200 other bytes. The unequal categories are a provisional bandwidth trade-off. Calculate its size and the maximum number fitting in a hypothetical 1,000,000-byte block, ignoring block overhead.
2592 + 4627 + 32 + 7856 + 200 = 15307 bytes. Floor(1000000/15307) = 65 transactions. This is a teaching model, not a Bitcoin block-weight calculation.
An attacker controls enough consensus resources to reorganise recent blocks but cannot forge signatures. Can they spend arbitrary coins? What can they do?
Not under unchanged validation rules. They may censor, reorder or reverse recent payments, including double-spending their own funds, depending on the consensus model.
A wallet has not upgraded. Its only signing scheme becomes forgeable. Can a migration transaction signed with that scheme prove who the original owner was?
No. A forger can produce the same evidence. A previously committed independent recovery credential may help if it remains secure and the protocol recognises it.
Two test networks accept identical transaction bytes and keys. What should the signing transcript commit to?
A canonical transaction, chain identifier, protocol/policy version and relevant spend references and outputs. Nodes must enforce the same encoding and reject invalid or already spent inputs.
Both signature algorithms are sound, but a verifier accepts a malformed transaction without checking either signature. Does hybrid cryptography save the ledger?
No. The shared validation path is a common-mode failure. Test malformed encodings, fail-closed behaviour and deterministic validation across nodes.
| Concept | Rule / reminder |
|---|---|
| ECDSA / Schnorr | Bitcoin signatures use secp256k1; discrete-log hardness is central. |
| Shor / Grover | Shor threatens discrete logs on sufficiently capable quantum hardware; ideal Grover search uses O(√N) queries. |
| ML-DSA / SLH-DSA | FIPS 204 lattice-based signatures / FIPS 205 stateless hash-based signatures. |
| ML-KEM | FIPS 203 key establishment, not transaction signing. |
| AND / OR | AND requires every signature; OR requires any one. Under independent failures AND resists one forgery; OR does not. |
| Transaction size | B = payload + sum of public key and signature sizes + other encoding overhead. |
| Block capacity | floor(available bytes / transaction bytes), for uniform sizes. |
| Consensus | Orders valid transactions; does not replace ownership verification. |
| Migration | Commit recovery credentials before failure; enforce activation and prevent downgrade. |
| Domain separation | Bind signatures to chain, purpose, policy and canonical transaction. |
| Hash security | Collision, preimage and second-preimage resistance are distinct properties. |
Target: 8/10 (80%). Retry freely. Also complete the laboratory and written tutorial; the quiz alone is not a full assessment.
Session 02 — Quantum-resistant wallets (planned).
Reference identifiers for independent verification: NIST FIPS 203, 204 and 205; Bitcoin BIP 340 and BIP 341; Shor (1994), Algorithms for quantum computation; Grover (1996), A fast quantum mechanical algorithm for database search. The essential introductory reading is embedded above. Further chapter handouts are planned. Additional references for verification: CIRG Statement 1 (30 November 2026, as reported in the independent review); arXiv:2603.28846 (March 2026, resource estimate); BIP 360 (draft status to verify); NIST SP 800-208.
Publish a reproducible local testnet, specification, benchmark results and failure-injection report. Use established libraries, never invent production cryptographic primitives. Record failures rather than hiding them. No production deployment is implied.