Ten31Field textbook
Ten31 / Field textbook / 01

Bitcoin
cryptography.
Understand
the evidence.

From the first signature to the latest disclosure. A visual course in how Bitcoin works, what could threaten it, and how to tell a breakthrough from a headline.

Three different cryptographic responsibilitiesSignatures check authorization. Hashes commit to data. Proof of work helps order valid history. These mechanisms cooperate, but an attack on one is not automatically an attack on all. 01 / AUTHORIZATIONWho may spend?Digital signatures · secp256k1 02 / COMMITMENTWhat exact data?Hash functions · Merkle trees 03 / ORDERINGWhich valid history?Proof of work · node validation Different mechanisms. Different failure modes.
4 hoursGuided route, with exercises
7 chaptersFirst principles to judgment
3 Dec 2026Evidence cutoff for this edition
Start here

A textbook you can
reason through.

You do not need to memorize the equations. You need a reliable map: what each component does, what its security assumes, and what evidence would change your view.

Read. Change. Explain.

Read the short sections, use the diagrams, then change an input in a lab. Before clicking, predict the outcome. The prediction is where understanding becomes visible.

At difficult ideas, use Explain another way. It cycles through prepared analogies, examples, and technical angles. Every analogy has limits; the surrounding text supplies the precise claim.

Keep your own judgment.

Each chapter ends with questions and a completion control. Mark it complete when you can explain the main idea in your own words. Revisit the answer reasoning if you guessed correctly.

Choose 1 page or 2 pages in the bottom bar. Turn pages with Previous / Next or the left and right arrow keys. Page numbers adapt to your window and text size. Use Reading settings for larger text or night reading. Search opens with ⌘ / Ctrl K. Notes and progress stay in this browser when storage is available; export notes to retain a separate copy.

What “checked” means here

Protocol explanations are grounded in primary specifications. Recent claims are attributed to their authors or independent assessors, with dates and limits. The live arithmetic is tested against published fixtures and an independent hash implementation. This is a carefully reviewed learning resource, not an independent formal proof of new research or a professional audit of Bitcoin.

For the November lattice research, the original repository README and the first paper’s abstract, overview, and limitations were inspected, alongside public CIRG and national cybersecurity assessments. The full mathematical proofs and formal verification code were not independently checked. Undisclosed findings remain outside this review.

Your half-day route

  1. 01Follow a payment25 min
  2. 02Hashes and proof of work30 min
  3. 03Keys and signatures40 min
  4. ·Break and recall the three security jobs10 min
  5. 04Wallets and public-key exposure30 min
  6. 05AI and quantum threats40 min
  7. ·Break and name one unresolved question10 min
  8. 06Disclosures and migration30 min
  9. 07Make the judgment25 min

The timing is a suggested pace, not a countdown. Optional technical details, the glossary, and the source register extend beyond the four-hour route. No coding prerequisite is required. The equations use ordinary algebra and introduce modular arithmetic as needed.

Read the status of a claim

LabelHow to interpret it
Established mechanismA specified operation or deployed rule. Security still depends on stated assumptions and implementation.
Demonstrated resultA capability shown under particular conditions. Check parameters, resources, and replication.
AssessmentAn attributed judgment by a named source. It can be well informed without making unpublished details inspectable.
ProposalA change under discussion. Publication, implementation, activation, and adoption are separate events.
UnknownThe reviewed public evidence does not settle the question. Preserve the gap instead of guessing.

Begin with one distinction: a UTXO is the object spent; BTC is the value it holds. Keep that precision as the course adds keys, signatures, hashes, and threats.

Chapter 01 · 25 minutes

Follow the value.
Then follow the proof.

Before learning the mathematics, separate three questions: what is being spent, who may spend it, and which transaction history the network accepts.

The object is a UTXO. The amount is BTC. A UTXO is an unspent transaction output. It records an amount and a condition for spending that amount. Your wallet identifies the outputs it can spend and adds up their value. [F01]

A payment changes the available outputs

Imagine Alice controls one UTXO worth 0.80000000 BTC and wants to pay Bob 0.30000000 BTC. Her transaction references the existing output, satisfies its spending condition, and creates two new outputs: 0.30000000 BTC for Bob and 0.49999000 BTC back to Alice. The difference, 0.00001000 BTC, is the fee. The original output is spent in full. Its value is redistributed; the old output does not retain a smaller balance.

Alice’s old UTXO0.80000000 BTCNew output for Bob0.30000000 BTCNew change output for Alice0.49999000 BTCFee: 0.00001000 BTCInput-output difference
An illustrative ordinary transaction. One BTC equals 100,000,000 satoshis; this fee is 1,000 satoshis.

Each input identifies an earlier output using a transaction identifier and an output index. Each new output supplies an amount in satoshis and a locking script. The script expresses the spending condition. Signatures and other unlocking data demonstrate that a later spend meets it. A signature is therefore part of authorization, not a transfer of secret information. [F02]

Why does the whole UTXO get spent?

Think of a voucher that must be cancelled when redeemed. You receive a new voucher for the unused amount. The analogy explains change, but a Bitcoin output is a public ledger entry, not a physical certificate.

Use integer amounts: 80,000,000 sats in; 30,000,000 sats to Bob; 49,999,000 sats change. Subtraction leaves 1,000 sats as the fee. No 0.5 BTC balance remains attached to the input.

A wallet balance is a view over several spendable outputs. Spending changes that collection. It is closer to replacing records than editing a single account-balance cell.

Authorization and ordering solve different problems

Alice could sign two incompatible transactions that spend the same output. Both might contain mathematically valid signatures. They cannot both remain confirmed in the same valid history. Digital signatures establish authorization; the chain and its validation rules establish an ordering that resolves conflicting spends. Proof of work makes replacing an accepted history costly under Bitcoin’s security assumptions. [F03]

One availableUTXOTransaction AValid signatureTransaction BValid signatureAt most oneconfirmed spend
A valid signature is necessary for these spends, but it is not a promise of confirmation.
ParticipantIts jobWhat it cannot establish alone
WalletConstruct a transaction, arrange signing, and track relevant outputs.A balance display does not prove a transaction has settled.
Full nodeCheck transactions and blocks against its consensus rules.Relaying a transaction does not guarantee inclusion.
MinerChoose transactions and search for a qualifying block-header hash.Proof of work does not make an invalid block valid.

A full node independently validates the history it follows. When valid branches compete, accumulated proof of work is the chain-selection measure. Counting connected computers is not the voting rule. A wallet that relies on a server for its view of the chain makes a different trust trade-off from a full validating node. [F04]

Why can miners not simply approve an invalid payment?

A judge can decide which eligible case is heard first, but a forged document does not become authentic because it was first in the queue. The analogy separates ordering from validity; Bitcoin applies software rules rather than judicial discretion.

A proposed block spends Alice’s output twice. A validating node rejects it even if the miner performed substantial work. A competing block with one authorized spend can be valid.

When someone says “an attacker controls the network,” ask what power they mean: transaction censorship, competing-chain production, signature forgery, or changing what users’ software accepts. These are different capabilities.

Confirmation is a position in a changing history

Before inclusion, a transaction may sit in a node’s mempool, its local collection of accepted unconfirmed transactions. Different nodes need not hold identical collections. Inclusion in the current chain gives the transaction one confirmation; each subsequent block increases its depth. A competing valid branch can cause a reorganization. “Six confirmations” is a convention, not a mathematical switch that turns all risk off. [F05]

What does an extra confirmation add?

Picture a page in a ledger with more pages bound after it. Replacing that page means replacing the later binding too. This illustrates cumulative work, not absolute impossibility.

A transaction appears in block 900. If the current tip is 902, it has three confirmations: its own block, 901, and 902. Block height and confirmation count are different numbers.

For a high-value payment, “is the signature valid?” and “how costly is a conflicting history?” deserve separate answers. No fixed confirmation count substitutes for the assumptions behind that assessment.

Go deeper: consensus rules versus relay policy

Consensus rules determine whether a block is valid. Relay and mempool policy determine which unconfirmed transactions a particular node is willing to accept or forward. A policy rejection does not always mean a transaction would be invalid in a block. This distinction becomes important when reading denial-of-service disclosures or claims about transaction censorship. [F06]

Lab: make the amounts reconcile

Use the transaction lab to vary the recipient amount and selected inputs. First predict the change. Then deliberately ask it to allocate more value than the selected inputs provide. The purpose is accounting, not signing or broadcasting a real payment.

A transaction has a valid signature. Is it necessarily a valid Bitcoin transaction?

Alice spends a 0.8 BTC UTXO, pays 0.3 BTC, and pays a 0.00001 BTC fee. What is the change?

Exercise · reconstruct the payment

Two inputs hold 120,000 and 85,000 sats. A recipient receives 160,000 sats; the fee is 2,000 sats. Write the change amount, the number of spent outputs, and the number of new outputs if there is one recipient output and one change output. Explain why the fee is not a third normal output.

Reveal the worked answer

Total input value is 205,000 sats. Change is 43,000 sats. Two earlier outputs are spent and two new outputs are created. The 2,000-sat fee is the input-output difference, which the miner may claim through the block’s special reward transaction. This exercise describes an ordinary payment; the block’s first transaction has separate creation and maturity rules. [F07]

Chapter 02 · 30 minutes

A fingerprint for data.
A cost for rewriting history.

Hashes let Bitcoin commit to data. Proof of work turns repeated hashing into a publicly checkable cost. Neither operation is encryption.

Three tools with three different jobs

ToolQuestion it answersWhat the result does not do
HashDoes this exact input produce this digest?Keep the input secret or identify its author.
SignatureDoes this message verify under this public key?Encrypt the message or prove the signer’s legal identity.
EncryptionCan the intended key holder recover protected plaintext?By itself, provide Bitcoin transaction authorization.

SHA-256 maps input bytes to a 256-bit digest. The same bytes always yield the same result. Changing the input usually changes many output bits, but the digest is not a unique identifier in the mathematical sense: far more possible valid inputs exist than the 2256 available outputs. Security depends on particular matching tasks being computationally hard, not on collisions being nonexistent. [F08]

BitcoinbitcoinSHA-256SHA-256256 output bitsOne exact digest256 output bitsA different exact digest
Capitalization changes the input bytes. The live lab below computes the actual digest rather than inventing illustrative hex.

Why can you not “decrypt a hash”?

A fingerprint helps compare an observed object with a record. It is not a compressed blueprint from which the entire object can be reconstructed. The comparison is useful; unlike real fingerprints, a cryptographic hash has a precisely specified algorithm.

If the input is known to be one of ten words, hash all ten and compare. Recovering a low-entropy input by guessing is not a reversal of SHA-256. A short password can be guessable even when the hash function works exactly as intended.

There are only 2256 possible SHA-256 outputs, but far more possible valid input strings within the standard’s message-length bound. Information has been discarded. The attack goal is usually finding a matching input, not recovering a uniquely determined original.

“Break the hash” is an incomplete claim

A preimage attack starts with a target digest and seeks an input matching it. A second-preimage attack starts with one message and seeks another with its digest. A collision attack finds any two distinct messages with the same digest. These freedoms matter. For an ideal 256-bit hash, generic classical preimage search is on the order of 2256 trials; generic collision search is on the order of 2128, because of the birthday effect. These are work-factor models, not calendar-time forecasts. [F09]

Why is finding any pair easier than matching one target?

Finding two people who share a birthday is easier than finding someone with one specific birthday. In the first problem every pair is an opportunity. This illustrates the counting advantage, not the actual size of a cryptographic search.

With 100 sampled objects there are 4,950 distinct pairs, but only 100 comparisons against one fixed target. A collision search gains pairwise opportunities as its sample grows.

“Researchers found collisions” does not automatically mean they can replace your chosen transaction while preserving its hash. Ask whether they choose both messages, whether the full function is attacked, and whether the messages satisfy the application’s format.

Merkle trees compress a commitment, not the transactions

A Merkle tree repeatedly hashes pairs of child values until one root remains. To demonstrate inclusion of one leaf, supply the sibling hash at each level. The verifier recomputes the root without receiving every other transaction. This establishes membership relative to that root. It does not, by itself, establish that the transaction satisfies Bitcoin’s consensus rules. [F10]

RootHash ABHash CDABCD
For leaf A, the proof needs B and Hash CD. The left/right positions matter.

In Bitcoin’s transaction tree, leaves are transaction identifiers and the header commits to the root. SegWit adds a separate witness commitment, carried through the block’s reward transaction. A SegWit transaction’s txid excludes witness serialization; its wtxid includes it. Consequently, “the txid hashes every byte of a signed transaction” is not a generally correct description. [F11]

Mining is a threshold search

Miners hash an 80-byte header with SHA-256 twice, searching for a numerical result less than or equal to the required target. A smaller target means fewer qualifying results. The header includes a commitment to the previous block, a transaction-tree root, and other fields. Changing the candidate data changes the search. [F12]

A miner can vary the header nonce and, when necessary, other allowed candidate data. Finding a result is expensive; checking a supplied result is cheap. Hashing faster improves the rate of attempts, not permission to violate the transaction rules. “Leading zeros” is a useful visual shortcut for a low numerical hash, but the actual check is a target comparison. [F13]

Why is mining not “solving transactions”?

Think of repeatedly drawing numbered tickets until one is below a threshold. The winning ticket proves a qualifying draw, not that the attached paperwork is valid. Nodes still check that paperwork separately.

In a toy world of 256 equally likely results, accepting values 0 through 15 gives a success probability of 16/256, or 1/16 per independent attempt. The expected wait is 16 attempts, but a particular run can take one, fifty, or more.

For a uniform 256-bit result and target T, the probability is (T + 1)/2256. Expected trials are 2256/(T + 1). The plus one includes zero. Actual mining performance also depends on hardware, energy, and implementation.

Go deeper: why HMAC is a different construction

A plain hash is public and unkeyed. HMAC combines a secret key with a hash in a specified construction to authenticate data. Bitcoin wallet derivation uses HMAC-SHA512, while transaction identifiers and proof of work use other hash constructions. Seeing “SHA” in both names does not make their security tasks identical. [F14] [F23]

Labs: change one byte, then prove one leaf

Hash a short message, change its capitalization, and compare the result. Then inspect the Merkle lab: predict which ancestors must change when one leaf changes. Keep track of whether an example is hashing text, raw bytes, or a toy label.

A valid Merkle proof establishes which fact?

Does a collision attack automatically reveal a Bitcoin private key?

Exercise · size the proof

For a balanced tree with 16 leaves, how many sibling hashes are needed to authenticate one leaf? What changes if there are 1,024 leaves? Now explain why a proof does not establish the honesty of the party who handed you the root.

Reveal the worked answer

Four sibling hashes for 16 leaves, ten for 1,024. Each doubling adds one level. A recomputed root only establishes consistency with the supplied commitment. The commitment’s provenance, its place in a valid chain, and the transaction’s validity are separate checks. This exercise uses perfect binary trees; real Bitcoin trees handle an odd final node by duplicating it at that level.

Chapter 03 · 40 minutes

Easy to verify.
Hard to impersonate.

A public key is deliberately public. The central requirement is that publishing it must not make its secret counterpart practically recoverable under the assumed attack model.

One secret number, one public point

A secp256k1 private key is an integer d in the range 1 through n − 1, where n is the order of the specified base point G. Its public point is P = dG. Multiplication here means repeated elliptic-curve group addition, implemented efficiently. It does not mean multiplying the x and y coordinates by d. [F15]

The curve equation is y² = x³ + 7 modulo p, with p = 2256 − 232 − 977. “Modulo” means arithmetic wraps into a finite range. Bitcoin uses discrete points over this finite field, not the continuous curve drawn on ordinary real-number axes. A smooth curve can illustrate the group-law idea, but it is not a literal map of Bitcoin keys. [F16]

Secret scalardGroup operationd × GPublic pointPRecovering d from P and G is the discrete logarithm problem
Efficient forward computation does not imply efficient inversion.

What makes the public key safe to share?

Imagine a machine that efficiently walks through a huge, structured maze when given a route number. Publishing the endpoint need not reveal the route number. This illustrates computational asymmetry, not a literal maze or a proof of security.

On a tiny teaching curve, list G, 2G, 3G, and so on until the public point appears. That recovers the secret by enumeration. The same concept becomes impractical at the real parameter size under known generic classical methods.

“256-bit private key” and “256-bit security” are not interchangeable. Generic classical discrete-log attacks have square-root-scale work in the group size, giving roughly a 128-bit security target for a 256-bit-order curve. This is a work estimate, not an unbreakability proof. [F09]

A signature binds a key to a message

Signing takes a secret key and a message. Verification takes the public key, the message, and the signature. The verifier should be able to confirm the mathematical relation without learning the secret. This establishes control of signing authority under the scheme’s assumptions. It does not establish that the signer read the screen, approved a legal agreement, or understood the transaction. [F15]

Private key + messageSignerPublic key + messageVerifier’s other inputsSignatureVerificationPass / failThe private key stays with the signer.
A conceptual data-flow sketch, not a transaction wire format.

Bitcoin has two signature families

Legacy and SegWit version 0 signature checks use ECDSA. Taproot introduced BIP340 Schnorr signatures over the same secp256k1 curve. A BIP340 signature is 64 bytes; its x-only public-key encoding is 32 bytes. Taproot’s transaction encoding can append a one-byte non-default sighash type. Changing the signature construction does not remove reliance on elliptic-curve discrete-log hardness. [F17] [F18]

Go deeper: the Schnorr verification relation

With secret d, nonce k, public point P = dG, and nonce point R = kG, a simplified Schnorr relation is s = k + ed mod n. Multiplying by G gives sG = R + eP. BIP340 specifies the challenge e using a tagged hash of r, the public key, and the message, together with exact range and parity checks. The relation explains verification; it is not a complete implementation recipe. [F17]

How can verification work without the secret?

The signer can compute s using secret d. The verifier can check a corresponding equation using public P = dG. The secret disappears from the verifier’s inputs because the public point carries the needed group relation.

Checking an answer and discovering an answer are different jobs. The design gives the verifier a compact certificate to check, while withholding the information needed to create a certificate for a different message.

Use the fixed test-vector lab. Verify the original message first. Change the message while keeping the signature, then verify again. Observe the failed binding. This demonstrates one test case, not a proof that all possible attacks fail.

What exactly did you sign?

A Bitcoin transaction signature signs a specified digest, not a screenshot of a payment. Signature-hash rules decide which transaction fields are committed. For SegWit version 0, BIP143 includes the spent input’s amount and defines the effect of sighash flags. Different flag combinations permit different later changes. “Any change anywhere invalidates every signature” is therefore too broad. [F19]

Taproot has its own digest construction and default sighash behavior. Distinguish the signature primitive from its Bitcoin application: current BIP340 accepts messages of arbitrary length, while Taproot supplies a 32-byte transaction digest. In tapscript, signature opcodes use Schnorr checks and the Taproot message construction; the multisignature building blocks differ from older scripts. [F17] [F20]

The nonce is secret signing material

The nonce used in signing is different from the public counter used in mining. Reusing an ECDSA signing nonce across different message digests can expose the private key. Predictable or biased nonce generation can also be dangerous. Deterministic nonce generation, such as RFC6979, derives the nonce from the key and message using a defined construction rather than requiring fresh external randomness for each signature. [F21]

Why can signing twice reveal a secret?

One equation can leave two unknowns unresolved. A second equation sharing the wrong unknown can make the system solvable. Reusing secret signing material can create exactly that extra relation.

For a simplified Schnorr model modulo 19, let d = 7 and k = 5. With challenges 3 and 8, the signature scalars are 7 and 4. Subtract: 7 − 4 = (3 − 8)d mod 19. The inverse of 14 mod 19 is 15, so d = 3 × 15 mod 19 = 7. This is a scalar-only teaching example, not BIP340.

The private-key file can remain perfectly hidden while a flawed signer leaks the key through signatures. A mathematical break of the curve and a nonce-handling bug are different failures with different remedies.

Go deeper: ECDSA nonce reuse

ECDSA has s = k−1(z + rd) mod n. If the same k produces signatures on different z values, then k = (z₁ − z₂)/(s₁ − s₂) mod n, subject to the relevant nonzero conditions and sign conventions. Recover d using d = (s₁k − z₁)/r mod n. This algebra is why a nonce bug can defeat a strong curve. Production encodings and low-s normalization require care when analyzing real signatures. [F21]

Labs: a small group and a real verification

The toy-curve explorer makes group arithmetic visible. Its small search space is intentionally insecure. The separate signature lab uses a fixed published vector, letting you test real verification behavior without generating a wallet or entering any secret.

Does Schnorr make Bitcoin’s signatures post-quantum?

What does a valid signature establish?

Exercise · explain the failure correctly

A wallet produces two signatures using the same secret nonce. An analyst recovers its private key. Write two sentences distinguishing this incident from a general attack that recovers arbitrary secp256k1 private keys from public keys.

Reveal the worked answer

The wallet leaked an algebraic relationship through incorrect nonce reuse, allowing key recovery for the affected signing key. This does not by itself demonstrate a general solution to the elliptic-curve discrete logarithm problem for correctly generated public keys and signatures.

Pause for ten minutes. Before continuing, explain aloud the difference between a hash, a signature, and proof of work without using the word “encryption.”
Chapter 04 · 30 minutes

Know what is secret.
Know what is already public.

A wallet is a system of keys, scripts, backups, signing devices, and chain information. Its security cannot be described by the word “offline” alone.

The seed is a starting point, not the ledger

BIP39 encodes computer-generated entropy with a checksum into a mnemonic. Twelve words encode 128 entropy bits plus four checksum bits; twenty-four encode 256 plus eight. The mnemonic and an optional passphrase are processed into a seed. The checksum detects some mistakes; it does not add secret entropy. A memorable sentence invented by a person is not equivalent to properly generated randomness. [F22]

BIP32 uses a seed to derive a tree of extended keys. An extended public key can derive non-hardened descendant public keys without their private counterparts, supporting watch-only workflows. Hardened derivation changes that relationship. A parent extended public key combined with a corresponding non-hardened child private key can expose the parent private key, so an xpub is more sensitive than a single receiving address. [F23]

Random entropy+ checksum → wordsMnemonic+ optional passphraseSeedHierarchical key derivationPrivate keysSigning authorityPublic keys + metadataWatching / receiving
A BIP39/BIP32-style workflow. Not every Bitcoin wallet uses this backup format.

Why is an address not a private key?

A destination label tells someone where to direct a payment. An authorization credential allows a spend. Mailing an address to someone does not mail them the credential. The analogy ends where Bitcoin’s different script encodings begin.

A watch-only wallet can show incoming payments and generate receiving information while an offline device retains signing keys. Seeing the balance and being able to spend it are separable capabilities. [F24]

Ask what each artifact enables. An address enables a payer to construct a destination. A public key enables verification. A private key enables signing. A seed may regenerate many private keys. These are not interchangeable backups.

Addresses encode different kinds of commitments

An address is a convenient encoding used by wallet software to construct an output script. Bech32 is used for native witness version 0 addresses; Bech32m is used for native witness versions 1 and above. The checksum helps catch transcription mistakes. It does not prove that the displayed destination belongs to the person you intended to pay. [F25] [F26]

Output typeWhat the output exposesWhen relevant keys become visible
P2PKA public key directly.At output creation.
P2PKHA 20-byte public-key hash.Normally when spent; possibly earlier elsewhere.
P2WPKHA version 0 witness program containing a 20-byte public-key hash.The public key is supplied in the spending witness; possibly already exposed elsewhere.
P2SH / P2WSHA script hash, 20 or 32 bytes respectively.The redeem or witness script is revealed on spend; relevant keys may already be known.
P2TRA 32-byte x-only output public key.The output key is visible at creation, including for outputs intended for script-path spending.

The hash construction matters. P2PKH and P2WPKH use HASH160(pubkey) = RIPEMD160(SHA256(serialized public-key bytes)), producing 20 bytes, or 160 bits. P2SH applies HASH160 to the serialized redeem script; P2WSH applies SHA-256 to the serialized witness script. Address encoding represents the resulting destination data in readable characters; it is a different operation from hashing. Do not assign SHA-256’s 256-bit preimage-search estimate to a 160-bit key hash. Matching an existing destination and finding any collision also remain different attack goals. [F02] [F27] [F11]

P2SH commits to a redeem script; P2WSH commits to a witness script. They do not simply mean “a hashed public key.” The script may require several signatures or other conditions. Taproot supports key-path and script-path spends, with the output key committing to the relevant construction. [F27] [F11] [F18]

What does “the public key is exposed” really mean?

For a fresh P2WPKH output, the chain initially shows a hash. A spending transaction reveals the public key. If other unspent outputs reuse that key, they now have a publicly known key too. Exposure follows the key’s history, not just the age of one output.

Receive into the same key-hash address twice. Spend the first UTXO. The second remains unspent, but its public key is now visible from the first spend. “Never spent this UTXO” is therefore not the same as “never revealed its key.”

On-chain inspection is only one source of exposure. An xpub, wallet descriptor, multisignature coordination message, or other public-key disclosure can reveal information before any spend. A chain-only estimate is not a complete inventory of who knows a key.

UTXO AHash of key PUTXO BSame hash of PSpend AReveal PP is now publicA is spentB is still unspent; P is known
This is the address-reuse exposure distinction. It is not a claim that revealing a key currently makes an ordinary spend unsafe.

Cold storage and multisignature solve specific problems

Separating an offline signing device from the networked wallet can reduce exposure of private material to an online compromise. PSBT, the partially signed transaction format, lets software transport a transaction and the information needed for signers to review and sign it. Offline does not mean immune to a dishonest display, incorrect transaction review, compromised firmware, or poor backup procedures. [F24] [F28]

A two-of-three multisignature policy requires two authorized signatures. That can tolerate one unavailable key and can prevent one stolen key from being sufficient. The protection depends on genuinely separated control and correct policy design. Three keys on the same compromised device do not create three independent defenses. [F29]

MuSig2 is a different construction: multiple participants cooperate to produce a single Schnorr signature under an aggregate public key. The specified scheme is n-of-n, not a general t-of-n threshold scheme. Its compact on-chain appearance does not make the underlying curve post-quantum. Public-key recovery against an exposed aggregate output key would target that aggregate key. [F30]

Why does more than one key not automatically mean quantum-safe?

Several locks reduce dependence on one key holder. If an attacker acquires a general method for defeating that lock technology, the locks share a new failure mode. Separation still has value, but it answers a different question.

A two-of-three policy can withstand theft of one secret. A hypothetical attacker able to recover enough exposed elliptic-curve secrets could satisfy that policy. The threshold changes the work required; it does not change the mathematical family.

Ask separately: how many parties must authorize, where are their keys stored, what public data is exposed, and which mathematical assumptions protect each spending path?

Go deeper: the backup needs to describe the wallet

Keys alone may not tell a restoring wallet which scripts and derivation paths to scan. Output descriptors encode this information. Standard derivation paths such as BIP84’s P2WPKH accounts and BIP86’s single-key P2TR accounts improve interoperability, but recovery still depends on knowing which scheme was used. For multisignature recovery, the policy and other participants’ public-key information can matter alongside your secret backup. [F31] [F32] [F33]

Lab: classify exposure

Compare output types and key histories. Focus on the information available to a hypothetical attacker, not on a single reassuring label such as “new address” or “hardware wallet.” The next chapter adds the attacker’s computational capabilities.

A fresh Taproot output has never been spent. Is its output public key hidden?

Does an offline signer remove the public key already recorded on the chain?

Exercise · write a precise exposure statement

Compare three hypothetical holdings: A, a P2PK UTXO; B, a fresh P2WPKH UTXO with no known prior disclosure; C, a P2WPKH UTXO whose key was revealed by spending another output. Which expose public keys to an on-chain observer? What qualification belongs on B?

Reveal the worked answer

A exposes its key directly. C has a known key because of the earlier spend. B’s output reveals only a key hash, assuming its key has not been published elsewhere. A future spend reveals B’s key, so this is an exposure distinction rather than a permanent quantum-security guarantee.

Chapter 05 · 40 minutes

Different threats.
Different failure modes.

An AI system can help discover an attack. A quantum computer can execute certain attacks. Neither phrase tells you which Bitcoin security assumption is affected. Learn to ask the next question.

Your objective: given a security headline, name the target, the attacker’s capability, the demonstrated result, and the missing steps before real-world impact.

Start with the layer, not the headline

“Bitcoin cryptography” covers several jobs. Signature checks enforce spending authorization. Hashes bind data together and support proof of work. Software implements these rules. Wallets generate and protect secrets. An attacker might target any one of those layers. A failure in one layer does not automatically establish a failure in all the others.

Keep the distinction concrete. A malicious message that crashes a node is an availability problem. A stolen wallet seed is a secret-management failure. A method that derives an arbitrary private key from its public key would attack the mathematical foundation of signatures. All can matter, but they require different evidence and different remedies. Bitcoin Core’s advisory collection explicitly separates several classes of impact. [T01]

Three attack routes with different consequencesSoftware exploitation can disrupt nodes. Private-key recovery can permit unauthorized signatures. Faster proof of work can affect block production. The routes are distinct. Exploit codeor steal a secretRecover a keyfrom public dataFind valid workmore efficientlyImplementationor custody impactSpendingauthorization impactBlock productionand ordering impactAsk which route the evidence actually supports.“AI” describes a tool, not an attack specification.
One security story may involve several layers. Do not silently move a result from one lane to another.

What does “AI broke it” mean?

A building can be compromised by persuading a guard, finding a broken hinge, or learning to manufacture a master key. Saying that a computer helped does not identify which happened. The repair depends on the actual route.

A model spots an unchecked array length in wallet software. Fixing that code could close the route. This result alone tells you nothing about deriving a private key from a correctly generated secp256k1 public key.

Separate algorithmic cryptanalysis, implementation exploitation, side-channel leakage, and operational compromise. An attack report should state its inputs, required access, parameters, cost, success probability, and security property violated.

AI can change research without changing physics

AI-assisted cryptanalysis is not limited to brute force. A model might help find a mathematical shortcut, improve a proof, write an attack implementation, or notice a programming flaw. The important result is the validated method, not the model’s confidence in its own answer.

A useful example predates this week’s announcements. In July 2026, Anthropic reported improved attacks on the HAWK candidate signature scheme and on a reduced-round version of AES. It explicitly distinguished these from a practical break of deployed production systems or full AES. The general lesson is to read qualifiers such as candidate, reduced-round, and improved attack before translating a finding into a security conclusion. [T02]

An AI-produced proof also needs verification. A plausible explanation is not a proof; a successful toy experiment is not a full-size key recovery; a formal proof can establish only the statement actually formalized and its assumptions. Treat an announcement as the start of that inspection, not a substitute for it.

Shor and Grover do different things

Shor: exploit mathematical structure

Shor’s work gives efficient quantum algorithms for factoring and discrete logarithms. Applied to elliptic-curve discrete logarithms on a sufficiently capable quantum computer, the route is from a public key to its private scalar. That would undermine both ECDSA and Schnorr authorization based on that curve. This is not ordinary classical brute force with a faster processor. [T03] [T04]

Grover: accelerate unstructured search

Grover’s algorithm changes idealized search over N possibilities from order N queries to order √N. For a generic 256-bit hash preimage, that suggests order 2128 quantum queries, not instant inversion. Query counts are not seconds, and collision search is a different problem. [T05]

A quantum mining claim needs another layer of analysis. Mining seeks a header hash below a target, not one particular full hash. Researchers model the cost of a Grover iteration, the rate of those iterations, and competition from the rest of the network. A theoretical search advantage does not by itself establish an economical mining advantage. [T06]

Why can signatures be threatened while hashes remain useful?

Two doors can rely on different locks. Discovering a clever way through one lock does not open the other. The shared word “cryptography” describes their purpose, not a common weakness.

An attacker able to recover one exposed public key’s secret could authorize a spend from a relevant UTXO. That does not require producing the network’s blocks or finding a SHA-256 collision.

Shor targets algebraic structure in discrete logarithms. Grover addresses generic search. Treating all 256-bit objects as having the same security conceals the problem definition and the adversary’s computational model. [T07]

Read quantum hardware numbers with their assumptions attached

A physical qubit is a hardware element. A logical qubit is an encoded unit designed to behave reliably despite physical errors. Error correction, control operations, and supporting resources mean those counts are not interchangeable. The number of logical qubits alone does not say how quickly a long computation can finish. Circuit depth, gate throughput, connectivity, error rates, and the required success probability also matter. [T08]

Google’s March 2026 research describes improved resource estimates for attacking 256-bit elliptic-curve discrete logarithms. Its blog gives a conditional estimate of fewer than 500,000 physical qubits and a runtime of minutes under specified superconducting-hardware assumptions. It is a resource estimate for a future machine, not a report of such a machine recovering a Bitcoin private key. [T09]

Why “a million qubits” is not enough information

A million unreliable workers do not automatically equal a million reliable workers. Supervision, correction, communication, and the order of tasks determine what the team can finish.

Estimate A counts logical qubits but omits error correction. Estimate B counts physical qubits and assumes a particular gate speed. Their headline numbers cannot be ranked until the assumptions and runtime targets match.

Ask for physical and logical counts, code and error model, gate count and depth, state-preparation overhead, target curve, attack success rate, and wall-clock runtime. A changed compiler can lower resource estimates without any new hardware being built.

Go deeper: a resource estimate is a conditional statement

Read an estimate as “If architecture A achieves error rate E and cycle time C, then circuit Q could complete in time R with success probability P.” That is more informative than “Bitcoin will break in year Y.” A date forecast combines algorithm engineering, hardware engineering, funding, manufacturing, and deployment assumptions. This course does not turn that compound forecast into a measured fact.

Do not confuse decryption with unauthorized spending

“Harvest now, decrypt later” describes collecting encrypted information today in the hope of reading it when a future capability becomes available. Long-lived confidential records can remain valuable even after the organization upgrades its systems. That is one reason migration planning precedes a working attack. [T23]

Bitcoin’s transaction ledger is already public. The relevant on-chain threat is different: use exposed public-key information to recover a signing secret and authorize an otherwise unauthorized spend. Wallet backups, private messages, and custodial systems may separately involve encryption, so both risks can exist around Bitcoin. Keep their objects distinct: decrypt a confidential record; forge authorization for a spend. Replacing a website’s encrypted connection does not replace Bitcoin’s spending rules.

This week’s disclosures: what is public, and what is not

Evidence cutoff · 3 December 2026

Source and dateWhat the source supportsWhat it does not establish
CIRG, 30 NovemberAn initial assessment of Anthropic’s theoretical quantum advance on some structured-lattice problems. For current ML-KEM and ML-DSA parameters, it assesses the new attack as much more expensive than existing attacks. [T10]A demonstrated attack on Bitcoin’s curve or a practical break of the deployed NIST schemes.
UK NCSC, 1 DecemberIts assessment is that the published lattice research does not threaten deployed ML-KEM and ML-DSA. Its migration guidance remains in place. [T11]A guarantee about every unpublished discovery, every algorithm, or every future improvement.
ONCD, NSA and CISA, 2 DecemberCompanies privately disclosed discoveries affecting some cryptography in use. The agencies assess recent advances as not posing an immediate, widespread threat. [T12]The statement does not identify a Bitcoin key-recovery method, its parameters, or a reproducible attack.
NSA, 2 DecemberA separate advisory urges National Security Systems owners and vendors to accelerate post-quantum migration and inventory dependencies. [T13]A Bitcoin consensus upgrade or evidence that migration is already complete.

Our bounded conclusion: these reviewed sources do not demonstrate practical recovery of Bitcoin private keys from properly generated public keys. This is a statement about the evidence reviewed, not proof that no private capability exists. The unspecified government disclosures cannot responsibly be assumed to be identical to the public lattice research.

The original repository README and the first paper’s abstract, overview and limitations were inspected directly for this edition. The paper describes quantum algorithms for specified lattice problems, with asymptotic bounds and restrictive problem parameters. Its limitations explicitly say the algorithms are not practical for standardized cryptographic parameter sets, and that general-lattice LWE and SIS are not treated. The authors’ formalization has its own stated trust boundaries. This review did not independently verify the proofs or execute the Lean checks. [T24] [T25] Australia’s ASD also publishes an assessment consistent with continued post-quantum migration. [T14]

Four different levels of evidence, none implying the next automaticallyAnnouncementA claim existsTheoretical resultA method existsConcrete estimateCost is modeledDemonstrationAttack is runEvery transition requires additional evidence.
A proof, an estimate, and an exploit answer different questions. A proof can be important even when the exploit is infeasible.

How can a breakthrough be real but not practical?

A new transport method might scale better over interstellar distances while taking longer than a bicycle across town. Better growth at enormous scale does not mean better performance at today’s destination.

For an invented problem size n = 100, compare 2n operations with 10100 × n2. The second expression grows more slowly in the long run but is vastly larger here. These invented expressions illustrate scaling; they are not the lattice attack’s cost formulas.

Asymptotic complexity describes how cost grows as parameters grow. Concrete security evaluates actual parameter sets, constants, memory, and hardware. CIRG’s assessment makes exactly this distinction for the November lattice result. [T10]

Exercise: interrogate the claim

Spend five minutes on this fictional headline: “AI makes cryptographic attack 1,000 times faster, so Bitcoin is no longer secure.” Write the five questions you would ask before repeating it.

Compare with the answer key
  1. Which algorithm and which parameter set were attacked?
  2. Was the result a proof, simulation, resource estimate, or actual key recovery?
  3. What is the absolute cost after the speedup? A large speedup may still leave an impossible attack.
  4. Does it require quantum hardware, privileged access, weak randomness, or a reduced-strength variant?
  5. Which Bitcoin component uses the affected construction, and how does the attack reach it?

A strong answer also asks for independent review and reproduction. The headline alone does not supply the missing chain from result to Bitcoin impact.

A faster quantum discrete-log algorithm is published. What can you conclude immediately?

Why can urgent migration guidance coexist with no immediate widespread threat?

Ten-minute pauseWithout rereading, name one difference between an AI-assisted software finding, a theoretical quantum algorithm, and a demonstrated practical key-recovery attack. Write one question the public evidence has not answered.
Chapter 06 · 30 minutes

Read the disclosure.
Then trace the remedy.

A precise advisory tells you what failed, who is exposed, and what changes the outcome. A migration proposal adds another question: who must adopt it before protection exists?

A disclosure is a process, not a single headline

Discovery, private reporting, validation, a fix, a release, deployment, and public disclosure can happen on different dates. “Disclosed today” need not mean “discovered today” or “first fixed today.” A report may also change as investigators understand its full impact.

The path from discovery to disclosure and deploymentDiscoveryValidationFixReleaseDeploymentPublic disclosure can occur at different points.A release exists ≠ every affected node has upgraded.A report exists ≠ its strongest interpretation is proven.
Illustrative workflow, not a mandatory sequence. Emergencies and coordinated research disclosures can follow different paths.

Bitcoin Core currently gives easily discoverable vulnerabilities an expedited path: fixes for maintained branches and an advisory without the usual severity-dependent embargo. It explicitly includes issues discoverable with minimal effort using an LLM. Other cases follow the published timing policy; critical cases can require a custom response. [T01]

Why not disclose every detail immediately?

If a building’s shared entry system is faulty, publishing a bypass before residents can repair it can increase harm. Keeping the fault secret forever also prevents informed decisions. Coordinated disclosure tries to manage that tension.

A maintainer confirms a bug, prepares a patch, and gives operators time to install it before publishing exploit details. The later public date does not mean the maintainer ignored the bug until then.

Embargo timing balances exploitability, discoverability, remediation availability, and deployment time. It is a policy judgment. Evaluate the actual timeline and affected population instead of treating either immediate publication or secrecy as automatically correct.

Three cases, three very different lessons

CaseVerified scopeWhat to learn
CVE-2026-117348
Node stall
Duplicate orphan-transaction announcements could temporarily stall processing. The advisory credits an automated LLM scan with discovery. It lists affected versions as 29.0–29.5, 30.0–30.4, and 31.0–31.2, and fixing releases as 30.5, 31.3, and 32.1. Its explicit affected list does not classify 32.0; that omission is not evidence of safety. The 29.x branch is end of life and receives no fix. [T15]A concrete AI-assisted software finding. It does not show a private-key recovery or signature forgery.
CVE-2024-35202
Remote crash
The advisory describes a high-severity crash before v25.0. The fix shipped in v25.0 on 25 May 2023. Its timeline records public disclosure in October 2024. [T16]A disclosure date can be much later than the fixing release. A short-identifier collision in the protocol discussion is not a break of SHA-256.
CVE-2018-17144
Inflation vulnerability
The initial denial-of-service report led to discovery of a critical inflation issue. Fixes shipped in 0.16.3 and 0.17.0rc4. The failure involved duplicate spending checks in implementation logic. [T17]Correct cryptographic primitives do not guarantee correct consensus software. Impact can expand during investigation.

These are historical teaching cases, not a claim that one old fixing version is the appropriate version to install now. Operational decisions require checking the software’s currently supported releases and the complete applicable advisories.

Post-quantum is a family of designs, not a universal patch

Post-quantum cryptography means cryptographic designs intended to withstand quantum as well as classical attacks. It generally runs on ordinary computers. “Quantum” in the name describes the adversary being considered, not hardware a wallet necessarily needs.

2024 NIST standardJobImportant boundary
FIPS 203: ML-KEMEstablish a shared secret over a public channel.Peer authentication requires a surrounding protocol. ML-KEM itself is not a Bitcoin spending-signature scheme. [T18]
FIPS 204: ML-DSAGenerate and verify digital signatures using a module-lattice design.Standardization does not activate it in Bitcoin’s consensus rules. [T19]
FIPS 205: SLH-DSAGenerate and verify stateless hash-based digital signatures.A different mathematical family still needs system-specific engineering and review. [T20]

Do not describe these as “three signature standards.” ML-KEM performs a different job. Also do not treat a standards label as a mathematical guarantee against every future discovery. Protocol changes may be necessary because new algorithms have different interfaces and operating characteristics. [T07]

Why not just put a new algorithm in the wallet?

Changing the pen you use does not change what signatures a registrar accepts. The verifier’s rules must recognize the new form of authorization.

A wallet creates an ML-DSA signature. If a UTXO’s spending rules require an existing Bitcoin signature construction, attaching the unfamiliar signature does not satisfy those rules. The sender needs a supported path to an output with the intended protections.

Migration combines consensus semantics, serialization, verification cost, wallet support, hardware support, and a way to move existing value. Review the new scheme and its integration. Neither a library release nor a proposal number proves network activation.

Bitcoin migration proposals: read the status and the limit

BIP 360, Pay-to-Merkle-Root: the reviewed specification is a Draft. It proposes a Taproot-like output without the key-path spending route. Its stated purpose includes resisting long-exposure attacks against public keys. The text explicitly distinguishes that from faster attacks during an unconfirmed spend; it does not itself add post-quantum signatures. [T21]

BIP 361, Post Quantum Migration and Legacy Signature Sunset: the reviewed document is a Draft, Informational proposal, dependent on a future post-quantum signature proposal. It discusses phased restrictions on legacy outputs and spends. This is a proposed migration policy, not a current countdown or an activated rule. Its forecasts and arguments should be read as the authors’ case for action. [T22]

A migration requires more than a signature algorithmReviewed schemeand parametersAccepted rulesand activationWallets, devices,and operational supportMigration of existing UTXOsplus a policy for those left behind
Planning map, not a claim that any named migration has been agreed or deployed.

The legacy-UTXO problem is both technical and a judgment call. Leaving old authorization paths usable preserves existing access rules but could leave value exposed to future forgery. Restricting them may reduce that attack route while preventing legitimate owners from spending through an old path. A rescue mechanism has to explain what evidence of prior control remains trustworthy after the old signature assumption fails.

These trade-offs cannot be settled by a date prediction alone. Ask which rights change, what evidence the rescue path accepts, whether that evidence was available before an attack, and how users learn about the transition. Distinguish protecting a new output from protecting all existing value. The latter is a larger task.

Why hiding a public key is not the whole migration

Keeping a lock’s mechanism out of view may deny an attacker time to study it. Opening the cover later restores visibility. Concealment can change the attack window without replacing the vulnerable mechanism.

A hypothetical attacker needs days to recover a key. Long-public exposure gives it that time. If the key is first revealed during spending, the attacker must race the spend. An attacker that needs seconds creates a different problem.

Exposure duration is one input to the threat model. Confirmation timing is variable, key reuse can create prior exposure, and a full solution must consider the authorization primitive itself. BIP 360 explicitly scopes its claimed protection to long exposure. [T21]

Make your next briefing auditable

Use this five-sentence structure whenever an important announcement arrives. It forces the central distinctions into the actual words you share.

  1. Claim: “The authors report [specific result] against [construction and parameters].”
  2. Evidence: “The public material contains [proof, code, experiment, or estimate], reviewed by [who].”
  3. Bitcoin relevance: “The affected assumption is used in [component], or the connection has not been established.”
  4. Conditions: “A real attack would additionally require [hardware, access, runtime, or deployment conditions].”
  5. Unknowns: “The following details remain unavailable, disputed, or unverified: [list].”

This is an editorial method, not an official disclosure standard. Its purpose is to preserve the chain of evidence when a technical result becomes a short explanation.

Exercise: write the careful version

Rewrite this fictional statement: “A new BIP means Bitcoin is quantum-safe, and the latest AI bug proves everyone must migrate immediately.” Use no more than 90 words.

Compare with a model answer

“A proposal can describe a possible protection without being activated. Its scope must be checked, including whether it changes public-key exposure or introduces a new signature scheme. An AI-discovered implementation bug can warrant a software update without demonstrating a break of signature mathematics. Before recommending a migration, identify the affected component, supported remedy, proposal status, and evidence for the attacker’s capabilities.”

A strong answer refuses both unsupported reassurance and unsupported urgency. It explains what evidence would change the recommendation.

A proposal removes a public key from an output’s normal on-chain form. Is it necessarily a complete post-quantum signature solution?

Which phrase is accurate for the BIP 361 text reviewed for this edition?

Takeaway: be exact about the mechanism, humble about missing evidence, and explicit about which protection is deployed. You can communicate urgency without claiming an attack has happened, and uncertainty without pretending there is no risk.
Chapter 07 · 25 minutes

Make the judgment.

The goal is to explain a threat precisely enough that someone else can act on your explanation. A good assessment names the mechanism, the evidence, the affected system, and the limits.

Your assignment: spend twelve minutes on the three cases, five minutes on the knowledge check, and eight minutes writing a briefing. These are fictional teaching cases, not reports of incidents. Their mechanisms reflect the distinctions established in the preceding chapters.

The four-part answer

Four parts of a defensible security assessment Identify the claim, inspect the evidence, map the exposure, then state the consequence. A missing link means the conclusion must remain conditional. ClaimEvidenceExposureConsequenceWhat exactlycan be done?What was actuallydemonstrated?Which systemsmeet the conditions?What follows, andwhat does not?A gap in the chain is an uncertainty to disclose.
Reason from the mechanism to the consequence. Do not start with a dramatic consequence and work backward.
Fictional case 01

“AI extracts a Bitcoin private key in seconds.”

A researcher demonstrates recovery of a private key from two ECDSA signatures created by a deliberately defective signing program. The program uses the same secret nonce for two different message hashes. An AI assistant helped find and explain the defect. A video shows the recovered key matching the original. The demonstration does not test a correctly implemented wallet.

Your task: write a two-sentence correction to the headline. Identify the broken assumption, the evidence you would request, and the population that might be affected.

Compare with the answer key

Defensible conclusion: the demonstration shows key recovery caused by nonce reuse in this signing implementation. It does not establish an efficient solution to the elliptic-curve discrete-logarithm problem for arbitrary Bitcoin public keys.

The reusable secret in this example is the signing nonce, not the public nonce field in a block header. With the same ECDSA nonce and distinct message hashes, two equations can expose the private key. Ask for the signatures, messages, reproducible test program, affected releases, and a description of nonce generation. Affected users would be those whose software actually produces the vulnerable signatures, not automatically every Bitcoin user. Proper deterministic nonce generation is one established way to avoid relying on fresh random sampling for every ECDSA signature. [A01]

Score, 4 points: one each for identifying the implementation defect, distinguishing it from general key recovery, requesting reproducible evidence, and limiting the affected population. Saying “Bitcoin is safe” without naming the limitation earns no scope point.

Fictional case 02

“A mathematical breakthrough makes all cryptography obsolete.”

A preprint presents an asymptotically faster quantum algorithm for a particular family of lattice problems. Its resource table depends on a fault-tolerant quantum computer and a parameter regime larger than the one used by a deployed standard. There is no implementation against a production key. A commentator claims that Bitcoin signatures must therefore be forgeable today.

Your task: identify three missing steps between the research and that conclusion. Then state what would make the paper relevant even if the headline is wrong.

Compare with the answer key

First, establish which mathematical problem and parameter sets the algorithm actually solves. Second, calculate resource requirements at the deployed parameters, including fault tolerance and runtime. Third, show an applicable reduction or attack against Bitcoin's signature construction. A result about one family of lattice problems is not, by itself, a method for solving the discrete-logarithm problem on secp256k1. Bitcoin's BIP 340 signatures use that elliptic curve. [A02]

The research may still change confidence in a proposed replacement, improve cryptanalysis, or motivate further review. “No demonstrated attack on the deployed system” and “no scientific importance” are different judgments. A quantum algorithm also carries hardware requirements; writing the algorithm does not supply the machine that executes it. [A03]

Score, 4 points: one each for checking the mathematical target, the parameters and resources, the Bitcoin connection, and the legitimate research significance. A confident forecast date without a justified hardware model loses the resources point.

Fictional case 03

“The newest node release upgrades every wallet to quantum security.”

A release fixes a remotely triggered node crash. The same week, an article discusses a draft proposal for a different transaction output type. A summary combines the stories and tells readers that installing the software automatically converts their existing UTXOs to a post-quantum signature scheme.

Your task: split the summary into separate claims. Describe the evidence needed for each, including what happens to existing UTXOs.

Compare with the answer key

A node crash fix concerns software availability. Its advisory must establish affected versions, triggering conditions, and fixed versions. Bitcoin Core's disclosure policy distinguishes denial-of-service issues from threats to fundamental network integrity; the existence of an advisory alone does not establish signature forgery. [A04]

A new output type separately requires specification, implementation, deployment, and activation evidence. A proposal identifier is not an activation event. For example, the BIP 360 text reviewed on December 3, 2026 remains a draft and explicitly limits its standalone protection to long-exposure attacks; it does not itself introduce post-quantum signatures. [A05]

Existing UTXOs have recorded spending conditions. A wallet application upgrade alone does not rewrite those outputs. A migration assessment must explain the new consensus rules and how value moves into protected outputs, or precisely how a proposed rule treats old outputs.

Score, 4 points: one each for separating the crash fix from cryptography, requiring activation evidence, identifying the proposal's limits, and explaining that existing UTXOs do not automatically change.

How can a serious warning coexist with incomplete evidence?

A warning can justify preparation before it establishes an immediate exploit. The question “Should we prepare?” has a different evidence threshold from “Has this exact system already been broken?” State which decision you are making.

A storm forecast can justify checking a roof without proving that the roof is already leaking. The analogy stops at prediction: cryptographic attacks depend on specific algorithms, parameters, and implementations, not just general conditions.

Use two sentences: “The disclosed evidence establishes X under conditions Y. Because consequence Z would be serious, preparation A is warranted, while practical exploitability B remains unproven.” This preserves both urgency and accuracy.

Knowledge check

Choose an answer, then read the reasoning. Correct answers without the reasoning are not the finish line.

1. A valid signature on a proposed spend proves which statement?

2. An attacker can find two arbitrary inputs with the same hash. What is established?

3. What makes a quantum resource estimate useful?

4. A draft BIP describes a new protection. Which evidence would establish that users can rely on it on Bitcoin mainnet?

5. A fixed-target mining demonstration succeeds on its first attempt. Is the demonstration wrong?

6. Which statement correctly separates post-quantum tools?

Your 150-word briefing

Return to one real disclosure in Chapter 6. Write for a colleague who holds BTC but does not study cryptography. Include a date, an exact claim, a primary source, a scope statement, and one unresolved question. Avoid both “everything is broken” and “nothing to worry about.”

Review against the briefing rubric
  • 2 points: accurately states what the original source establishes.
  • 2 points: identifies the exact algorithm, implementation, or protocol layer.
  • 2 points: names required conditions and affected users or outputs.
  • 2 points: distinguishes observed facts, expert assessment, and unresolved details.
  • 2 points: uses understandable language and identifies a concrete next piece of evidence.

A strong briefing scores at least 8/10 and contains no unsupported assertion of practical key recovery, universal safety, or automatic migration. A low score is a map back to the chapter you need, not a reason to memorize more vocabulary.

Completion standard: you can follow a spend from UTXO to signature to validated block, identify which component a claim targets, and explain where the public evidence stops. That is the foundation for reading new disclosures without borrowing their headline's certainty.
Keep beside the news

The field reference.

A compact security map, a glossary, and a repeatable checklist. Return here when a new claim introduces an unfamiliar term or compresses several different risks into one sentence.

Five jobs, five sets of questions

Bitcoin security responsibilitiesKey custody protects secrets and signing intent. Signatures authorize spends. Hashes commit to data. Consensus validation enforces rules. Proof of work helps order valid history. These are complementary jobs, not interchangeable protections.Key custodySignaturesHashingValidationProof of workProtect secrets and verify signing intentCheck authorization for a specified messageCommit to data and support work measurementReject transactions and blocks that break rulesHelp select the most-work valid history
A failure in one responsibility can matter without breaking every other responsibility. Real systems also depend on reliable implementations and communication.
ResponsibilityWhat to investigateCommon category error
Key custodySeed handling, signer compromise, backup recovery, intended destination.Calling theft of a seed a mathematical break.
SignaturesCorrect message, public key, signature scheme, nonce handling, forgery conditions.Assuming a valid signature means a confirmed payment.
HashingPreimage, second-preimage, or collision task; exact hash construction and context.Treating every hash weakness as private-key recovery.
Consensus and orderingAccepted rules, validation bugs, accumulated work, reorganization conditions.Assuming more hash power permits an invalid signature.
MigrationSpecification, implementation, activation, wallet support, adoption, treatment of old outputs.Equating a published proposal with protection already in use.

Protocol grounding: independent validation and chain selection [A11]; transaction spending conditions [A12]; signatures [A02]. The investigation questions are a synthesis for this course.

The ten-question disclosure checklist

  1. What is the original source? Paper, code, advisory, official statement, or an unnamed claim?
  2. When was it published and last revised? Separate the discovery date, disclosure date, fix date, and your assessment date.
  3. What exact task becomes easier? Key recovery, forgery, collision search, password guessing, code exploitation, or something else?
  4. Which algorithm and parameters? A related mathematical family is not automatically the deployed construction.
  5. What was demonstrated? Proof, simulation, toy instance, production-size benchmark, or exploitation of a real system?
  6. What resources are assumed? Hardware, error correction, time, memory, data access, and attacker privileges.
  7. Who independently checked it? Separate an author claim from replication or technical assessment.
  8. What is the actual Bitcoin connection? Name the signature scheme, output type, node version, wallet, or operational process.
  9. What changes the exposure? Public-key visibility, reuse, spending window, patched versions, or an activated migration.
  10. What remains unknown? State the missing evidence and what observation would change your conclusion.

Misconceptions to retire

“The blockchain is encrypted.”

Bitcoin's transaction ledger is public. Hashes and signatures provide other security properties. Encrypting a wallet backup is a separate protection.

“An address is always a public-key hash.”

Address formats encode different kinds of spending destinations. A Taproot output includes an x-only public key; that is a different exposure model from an unrevealed public-key-hash output. [A13]

“Hash power can spend any UTXO.”

Nodes still enforce spending conditions. Chain selection operates over valid histories; accumulating work is not permission to violate a node's validation rules. [A11]

“Multisignature means post-quantum.”

Requiring several elliptic-curve signatures can improve operational controls, but it does not replace their underlying mathematical assumption. Analyze the actual script and every available spending path.

“A 256-bit key means 256-bit security.”

Representation length and attack cost are different quantities. secp256k1 is a roughly 128-bit classical-security curve against generic discrete-logarithm attacks. [A14]

“A forecast is a deadline.”

A forecast depends on assumptions. Record the model and range, then monitor evidence. A precise calendar year does not remove engineering uncertainty.

Glossary

Definitions are deliberately short. For full mechanics, use the linked chapters and primary sources. “Nonce” has two distinct meanings below.

Address
A human-transmittable encoding of a payment destination from which wallet software can construct spending conditions. It is not a balance-bearing account or a private key. Modern witness address encodings include Bech32 and Bech32m. [A15]
Algorithm
A specified procedure for computing a result. Knowing an attack algorithm does not imply having the resources to run it at useful parameters.
Bitcoin Improvement Proposal (BIP)
A document describing a proposed specification, process, or information. Its number is a reference identifier, not proof of approval or activation.
Block header
The 80-byte structure miners hash for proof of work. It includes a previous-block reference, transaction Merkle root, timestamp, encoded target, version, and nonce. [A07]
BTC
The unit used to express bitcoin value. One BTC equals 100,000,000 satoshis. A UTXO is the object being spent; BTC describes its value.
Collision
Two different inputs that produce the same hash digest. Finding an arbitrary collision is different from matching a digest chosen in advance.
Confirmation
Inclusion of a transaction in the currently accepted chain. Additional blocks increase its confirmation count but do not create absolute mathematical finality.
Consensus rules
The rules a node uses to determine whether transactions and blocks are valid. They are not a vote by IP address or a majority of connected peers.
Cryptanalysis
The study of attacks on cryptographic constructions, including shortcuts, weaknesses, and resource estimates.
Cryptographically relevant quantum computer
A quantum computer capable of executing an attack against a relevant deployed cryptographic target with useful success probability and runtime. A generic qubit-count milestone alone does not establish this capability.
Denial of service (DoS)
An attack that disrupts availability or consumes resources. A node crash can be serious without allowing the attacker to forge a signature. [A04]
Digital signature
A value that a verifier checks against a message and public key. A secure scheme prevents unauthorized creation of acceptable signatures under its stated threat model.
Discrete logarithm
In this course, finding the secret scalar d from a curve point P = dG and a known generator G. “Logarithm” names a group problem, not a calculator operation on the displayed coordinates.
ECDSA
Elliptic Curve Digital Signature Algorithm. Bitcoin uses it with secp256k1 for several established spending types. Nonce generation and implementation details matter to its security.
Encryption
A transformation intended to hide information from parties without the required key. This is different from hashing and from signing.
Entropy
A measure of uncertainty. For wallet generation, unpredictability of the original secret matters; a long-looking string can still come from a weak source.
Finite field
A finite arithmetic system in which addition, subtraction, multiplication, and division by a nonzero element behave consistently. secp256k1 coordinates use arithmetic modulo a large prime.
Grover's algorithm
A quantum search method offering a quadratic query improvement for unstructured search. Applying that advantage in practice requires an appropriate quantum implementation and resource model. [A16]
Hash
A fixed-size digest computed from input data. Cryptographic hash designs aim to make specified inverse and collision tasks difficult; a hash is not reversible encryption. [A06]
Hierarchical deterministic wallet
A wallet structure that derives a tree of related keys from seed material. BIP 32 defines a widely used derivation scheme. [A17]
Key-encapsulation mechanism (KEM)
A construction for establishing a shared secret over a public channel. It is not a digital-signature scheme. ML-KEM is standardized in FIPS 203. [A08]
Logical qubit
A protected computational qubit represented through an error-correction scheme. Its physical implementation can require many physical qubits, with overhead determined by the error model and computation.
Mempool
A node's local collection of accepted, unconfirmed transactions. Nodes need not have identical mempools.
Merkle proof
A set of sibling hashes and their ordering that lets a verifier connect a leaf to a particular Merkle root. Inclusion does not by itself prove the transaction valid or the block part of the most-work valid chain.
Mnemonic
A human-readable word sequence encoding entropy and a checksum under schemes such as BIP 39. BIP 39 converts the mnemonic, with an optional passphrase, into a binary seed. Not every wallet uses BIP 39. [A18]
Nonce, mining
A public 32-bit field in a block header that miners can vary while searching for acceptable proof of work. Other header-affecting data can also change. [A07]
Nonce, signing
A per-signature secret scalar in ECDSA or Schnorr constructions. Reuse across different messages can disclose a private key. It is not the mining nonce.
Post-quantum cryptography
Cryptographic designs intended to resist known attacks by both conventional and quantum computers. The label does not mean proven immunity to every future discovery.
Preimage
An input producing a specified hash digest. A preimage attack starts with the digest as its target.
Private key
For secp256k1, a secret scalar in the permitted range. It enables the holder to produce signatures; revealing it can compromise outputs spendable with the corresponding key.
Proof of work
Evidence that a block header meets a target condition. It makes proposing an accepted chain history costly in expectation; it does not replace transaction validation.
Public key
A value derived from a private key that supports signature verification. For elliptic-curve systems it represents a curve point, using a specified encoding.
Schnorr / BIP 340
The Schnorr signature scheme specified for secp256k1 by BIP 340. Taproot uses it; the name alone does not imply post-quantum security. [A02]
Script
Bitcoin's language for expressing and evaluating spending conditions. A valid signature may satisfy one condition within a larger script.
Second preimage
A different input matching the digest of a particular given input. The fixed starting input distinguishes this task from arbitrary collision search.
Shor's algorithm
A quantum algorithmic approach that efficiently solves factoring and discrete-logarithm problems given a sufficiently capable quantum computer. Its relevance to signatures differs from Grover's search improvement. [A03]
Taproot
A deployed Bitcoin output design with key-path and script-path spending. The output commits to an x-only public key; script paths can reveal only the chosen branch and its proof. [A13]
UTXO
An unspent transaction output: an identifiable output with a BTC value and spending conditions, available to be consumed by a later valid transaction. Spending it consumes that output in full, while new outputs may return change. [A12]
Witness
Transaction input data used to satisfy certain spending conditions, such as signatures and scripts, serialized in the SegWit witness structure. Witness data has a separate commitment arrangement from the legacy transaction identifier. [A19]

A useful final habit

Before repeating a claim, finish this sentence: “This evidence shows this capability, against this target, under these conditions, as of this date.” If one blank cannot be filled, preserve it as an open question.

Evidence register / 3 December 2026

Inspect the source.
Keep the boundary.

81 citation records link to 61 distinct primary-source URLs. Each record states what it supports. Repeated sources retain chapter-specific identifiers so a claim remains easy to trace.

Links open the original source in a new tab and require internet access. The textbook itself has no runtime network dependency. Protocol specifications establish definitions and rules; author reports establish what their authors claim; outside assessments establish their assessors’ conclusions. None substitutes for unpublished evidence.

Verification completed for this edition

Foundations and current disclosures received separate drafting and cross-review passes. Hashing was compared with Node’s cryptographic implementation across padding boundaries and Unicode inputs. Signature verification was exercised against all 19 published BIP 340 vectors, including invalid cases and variable message lengths. Toy-curve arithmetic and ordered Merkle proofs were checked independently.

The original November lattice repository README and paper 1’s abstract, overview, and limitations were inspected directly after an initial retrieval problem was resolved. The other three papers, full mathematical proofs, and formal verification code were not independently checked. The course distinguishes reading an original result, reviewing an expert assessment, and independently proving the result.

Check the examples yourself.

Offline reference checks

Run all 19 published signature-verification fixtures, including deliberately invalid cases, plus three known SHA-256 outputs. This checks the local demonstrations against expected answers. It does not verify novel mathematical proofs or establish that an algorithm is unbreakable.

Ready to run 22 reference checks in this browser.
Inspect individual check results
No checks run yet.
  1. F01 / Bitcoin Developer Guide

    Transactions: UTXOs and payment structure

    Output references, spend conditions, change and fees; historical guide, not a current deployment inventory.

    Checked 2026-12-03. Source pages may change after this edition.

  2. F02 / Bitcoin Developer Reference

    Transaction reference

    Serialization, output scripts, signature-check operations, and OP_HASH160 as RIPEMD160(SHA256(input bytes)).

    Checked 2026-12-03. Source pages may change after this edition.

  3. F03 / Satoshi Nakamoto

    Bitcoin: A Peer-to-Peer Electronic Cash System

    Signatures versus double-spend ordering and cumulative proof of work; historical conceptual source.

    Checked 2026-12-03. Source pages may change after this edition.

  4. F04 / Bitcoin Developer Guide

    Operating modes

    Full validation versus simplified verification and chainwork; historical explanatory source.

    Checked 2026-12-03. Source pages may change after this edition.

  5. F05 / Bitcoin Developer Guide

    Payment processing

    Confirmation depth, unconfirmed payments, and reorganization considerations.

    Checked 2026-12-03. Source pages may change after this edition.

  6. F06 / Bitcoin Core

    testmempoolaccept RPC, Bitcoin Core 29.0

    Mempool acceptance checks include both consensus and policy rules; version-pinned reference, not a latest-version claim.

    Checked 2026-12-03. Source pages may change after this edition.

  7. F07 / Bitcoin Developer Guide

    Block chain guide

    UTXO state, block validation, block reward transaction and fees.

    Checked 2026-12-03. Source pages may change after this edition.

  8. F08 / NIST

    FIPS 180-4: Secure Hash Standard

    SHA-256 output width, deterministic digest construction, and message hashing.

    Checked 2026-12-03. Source pages may change after this edition.

  9. F09 / NIST

    SP 800-57 Part 1 Revision 5

    Generic security strengths for hashes and elliptic-curve systems; not a forecast of future discoveries.

    Checked 2026-12-03. Source pages may change after this edition.

  10. F10 / Bitcoin Improvement Proposals

    BIP 37: Connection Bloom filtering

    Partial Merkle trees and transaction inclusion proofs; cited for the proof structure, not as a wallet recommendation.

    Checked 2026-12-03. Source pages may change after this edition.

  11. F11 / Bitcoin Improvement Proposals

    BIP 141: Segregated Witness

    txid/wtxid distinction, witness commitment, P2WPKH and P2WSH.

    Checked 2026-12-03. Source pages may change after this edition.

  12. F12 / Bitcoin Developer Reference

    Block chain reference

    80-byte block headers, double SHA-256, target comparison and transaction Merkle tree rules.

    Checked 2026-12-03. Source pages may change after this edition.

  13. F13 / Bitcoin Developer Guide

    Mining guide

    Header nonce search and candidate block construction.

    Checked 2026-12-03. Source pages may change after this edition.

  14. F14 / RFC Editor

    RFC 2104: HMAC

    Keyed hash authentication distinguished from an unkeyed digest.

    Checked 2026-12-03. Source pages may change after this edition.

  15. F15 / Standards for Efficient Cryptography Group

    Standards for Efficient Cryptography 1 (SEC 1), version 2.0

    Elliptic-curve group operations, key pairs and ECDSA.

    Checked 2026-12-03. Source pages may change after this edition.

  16. F16 / Standards for Efficient Cryptography Group

    Standards for Efficient Cryptography 2 (SEC 2), version 2.0

    secp256k1 finite-field equation, prime, generator and group order.

    Checked 2026-12-03. Source pages may change after this edition.

  17. F17 / Bitcoin Improvement Proposals

    BIP 340: Schnorr Signatures for secp256k1

    64-byte signatures, x-only keys, verification relation, tagged hash, message length and test vectors.

    Checked 2026-12-03. Source pages may change after this edition.

  18. F18 / Bitcoin Improvement Proposals

    BIP 341: Taproot spending rules

    Taproot key/script paths, output-key exposure and signature-hash encodings.

    Checked 2026-12-03. Source pages may change after this edition.

  19. F19 / Bitcoin Improvement Proposals

    BIP 143: Version 0 witness signature verification

    Transaction signature digests, input amounts, and sighash behavior.

    Checked 2026-12-03. Source pages may change after this edition.

  20. F20 / Bitcoin Improvement Proposals

    BIP 342: Validation of Taproot Scripts

    Tapscript Schnorr checks and OP_CHECKSIGADD.

    Checked 2026-12-03. Source pages may change after this edition.

  21. F21 / RFC Editor

    RFC 6979: Deterministic DSA and ECDSA

    Nonce-generation requirements and deterministic ECDSA; nonce-reuse example algebra independently checked.

    Checked 2026-12-03. Source pages may change after this edition.

  22. F22 / Bitcoin Improvement Proposals

    BIP 39: Mnemonic code

    Entropy, checksum, mnemonic-to-seed conversion and optional passphrase.

    Checked 2026-12-03. Source pages may change after this edition.

  23. F23 / Bitcoin Improvement Proposals

    BIP 32: Hierarchical Deterministic Wallets

    Key trees, extended public keys, hardened derivation and non-hardened child-key leakage.

    Checked 2026-12-03. Source pages may change after this edition.

  24. F24 / Bitcoin Developer Guide

    Wallets guide

    Separable networked, watching and signing functions.

    Checked 2026-12-03. Source pages may change after this edition.

  25. F25 / Bitcoin Improvement Proposals

    BIP 173: Bech32

    Address encoding and checksums for native witness version 0.

    Checked 2026-12-03. Source pages may change after this edition.

  26. F26 / Bitcoin Improvement Proposals

    BIP 350: Bech32m

    Native witness version 1 and later address encoding.

    Checked 2026-12-03. Source pages may change after this edition.

  27. F27 / Bitcoin Improvement Proposals

    BIP 16: Pay to Script Hash

    Script-hash commitment and redeem-script disclosure.

    Checked 2026-12-03. Source pages may change after this edition.

  28. F28 / Bitcoin Improvement Proposals

    BIP 174: Partially Signed Bitcoin Transaction Format

    Data exchange for offline and multiple signers.

    Checked 2026-12-03. Source pages may change after this edition.

  29. F29 / Bitcoin Improvement Proposals

    BIP 11: M-of-N Standard Transactions

    Multiple-signature policy structure; not a claim that historical relay limits remain current.

    Checked 2026-12-03. Source pages may change after this edition.

  30. F30 / Bitcoin Improvement Proposals

    BIP 327: MuSig2

    n-of-n aggregate Schnorr signing and exposed aggregate output key.

    Checked 2026-12-03. Source pages may change after this edition.

  31. F31 / Bitcoin Improvement Proposals

    BIP 380: Output Script Descriptors

    Wallet recovery requires script and derivation metadata as well as key material.

    Checked 2026-12-03. Source pages may change after this edition.

  32. F32 / Bitcoin Improvement Proposals

    BIP 84: P2WPKH account derivation

    Standard derivation paths for native SegWit single-key wallets.

    Checked 2026-12-03. Source pages may change after this edition.

  33. F33 / Bitcoin Improvement Proposals

    BIP 86: Single-key P2TR derivation

    Standard derivation paths and construction for single-key Taproot wallets.

    Checked 2026-12-03. Source pages may change after this edition.

  34. T01 / Bitcoin Core

    Bitcoin Core security advisories and disclosure policy

    Severity categories and easily-discoverable disclosure branch; current policy, not exhaustive incident history.

    Checked 2026-12-03. Source pages may change after this edition.

  35. T02 / Anthropic

    Discovering cryptographic weaknesses with Claude

    28 July 2026 report: HAWK candidate and reduced-round AES; author-reported findings and explicit production-impact limits.

    Checked 2026-12-03. Source pages may change after this edition.

  36. T03 / Peter W. Shor

    Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer

    Original quantum algorithm paper; mathematical result, not present hardware capability.

    Checked 2026-12-03. Source pages may change after this edition.

  37. T04 / Roetteler, Naehrig, Svore and Lauter

    Quantum resource estimates for computing elliptic curve discrete logarithms

    Elliptic-curve quantum circuit/resource framework. Historical 2017 estimates, not a current minimum or hardware demonstration.

    Checked 2026-12-03. Source pages may change after this edition.

  38. T05 / Lov K. Grover

    A fast quantum mechanical algorithm for database search

    Original unstructured-search result; query complexity, not wall-clock attack performance.

    Checked 2026-12-03. Source pages may change after this edition.

  39. T06 / Robert R. Nerem and Daya R. Gaur

    Conditions for Advantageous Quantum Bitcoin Mining

    Research model of quantum mining cost and competition; assumptions must accompany conclusions.

    Checked 2026-12-03. Source pages may change after this edition.

  40. T07 / IETF

    RFC 9958: Post-Quantum Cryptography for Engineers

    June 2026 informational overview of attack models, PQ algorithms and engineering migration boundaries.

    Checked 2026-12-03. Source pages may change after this edition.

  41. T08 / National Academies of Sciences, Engineering, and Medicine

    Quantum Computing: Progress and Prospects, chapter 4

    Physical versus logical resources and fault-tolerant computation context.

    Checked 2026-12-03. Source pages may change after this edition.

  42. T09 / Google Research

    Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly

    31 March 2026 conditional elliptic-curve attack resource estimates; not evidence of a physical attack execution.

    Checked 2026-12-03. Source pages may change after this edition.

  43. T10 / Cryptography Incident Review Group

    Initial Assessment of Anthropic’s Findings on Lattice Cryptography

    30 November 2026 independent reviewers’ initial assessment of asymptotic versus concrete costs. Original README and scoped paper 1 material also inspected separately; see T24 and T25.

    Checked 2026-12-03. Source pages may change after this edition.

  44. T11 / UK National Cyber Security Centre

    NCSC statement on recent post-quantum cryptography research

    1 December 2026 assessment of the published lattice research and continued migration guidance.

    Checked 2026-12-03. Source pages may change after this edition.

  45. T12 / ONCD, NSA and CISA

    Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities

    2 December 2026 broad assessment; unspecified private disclosures, not an identified Bitcoin exploit.

    Checked 2026-12-03. Source pages may change after this edition.

  46. T13 / US National Security Agency

    NSA Advises Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems

    2 December 2026 NSS migration guidance, dependency inventory and acquisition context.

    Checked 2026-12-03. Source pages may change after this edition.

  47. T14 / Australian Signals Directorate

    AI and the future of cryptography

    2 December 2026 assessment and corroboration of the publicly reviewed lattice findings; distinguishes July research.

    Checked 2026-12-03. Source pages may change after this edition.

  48. T15 / Bitcoin Core

    CVE-2026-117348: Node stall through duplicate orphan announcements

    20 November 2026 advisory: impact, attribution to automated LLM scan, affected branches, and fixing versions. The advisory explicit affected-version list omits 32.0 while listing 32.1 as fixed; no inference of 32.0 safety is made.

    Checked 2026-12-03. Source pages may change after this edition.

  49. T16 / Bitcoin Core

    Disclosure of CVE-2024-35202

    High-severity remote crash before v25.0; fixed May 2023. URL date October 8 and body timeline October 9 differ, so course uses month only.

    Checked 2026-12-03. Source pages may change after this edition.

  50. T17 / Bitcoin Core

    Disclosure of CVE-2018-17144

    Historical denial-of-service and critical inflation implementation vulnerability; fixing releases and evolving impact assessment.

    Checked 2026-12-03. Source pages may change after this edition.

  51. T18 / NIST

    FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard

    ML-KEM is a key-encapsulation mechanism, not a signature scheme; finalized August 13, 2024.

    Checked 2026-12-03. Source pages may change after this edition.

  52. T19 / NIST

    FIPS 204: Module-Lattice-Based Digital Signature Standard

    ML-DSA digital signature standard; finalized August 13, 2024. NIST notes later potential errata.

    Checked 2026-12-03. Source pages may change after this edition.

  53. T20 / NIST

    FIPS 205: Stateless Hash-Based Digital Signature Standard

    SLH-DSA stateless hash-based signature standard; finalized August 13, 2024.

    Checked 2026-12-03. Source pages may change after this edition.

  54. T21 / Bitcoin Improvement Proposals, proposal authors

    BIP 360: Pay-to-Merkle-Root (P2MR)

    Reviewed draft version 0.12.1: removes Taproot key path; long-exposure scope, not a complete PQ signature deployment.

    Checked 2026-12-03. Source pages may change after this edition.

  55. T22 / Bitcoin Improvement Proposals, proposal authors

    BIP 361: Post Quantum Migration and Legacy Signature Sunset

    Reviewed Draft, Informational proposal with future PQ signature dependency. Forecasts and migration advocacy are not adopted network rules. NIST classification independently checked against FIPS 203/204/205.

    Checked 2026-12-03. Source pages may change after this edition.

  56. T23 / NIST

    What Is Post-Quantum Cryptography?

    Harvest-now-decrypt-later explanation and long-lived confidential data. Used only for this specific distinction, not every simplified claim on the overview page.

    Checked 2026-12-03. Source pages may change after this edition.

  57. T24 / Anthropic

    Four papers on lattices: a Lean 4 formalization (repository README)

    Original repository, paper titles, computation model, asymptotic limitations, formalization exclusions and trust boundary. README inspected; proof checks not executed.

    Checked 2026-12-03. Source pages may change after this edition.

  58. T25 / Anthropic

    Galactic quasi-polynomial quantum algorithms for integral and module lattices

    November 2026 original paper. Abstract, overview and limitations (pages 1, 3-13) inspected. Stated scope and resource limits only; proofs not independently verified.

    Checked 2026-12-03. Source pages may change after this edition.

  59. A01 / RFC Editor / Thomas Pornin

    RFC 6979: Deterministic Usage of DSA and ECDSA

    ECDSA signing equations, nonce requirements, deterministic nonce generation; fictional case mechanism.

    Checked 2026-12-03. Source pages may change after this edition.

  60. A02 / Bitcoin BIPs / Pieter Wuille, Jonas Nick, Tim Ruffing

    BIP 340: Schnorr Signatures for secp256k1

    Public-key and signature verification construction, mathematical assumptions, deployed scheme.

    Checked 2026-12-03. Source pages may change after this edition.

  61. A03 / Peter W. Shor

    Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer

    Quantum algorithms for factoring and discrete logarithms; algorithm versus hardware capability.

    Checked 2026-12-03. Source pages may change after this edition.

  62. A04 / Bitcoin Core

    Bitcoin Core Security Advisories

    Severity categories and distinction between availability issues and fundamental integrity risks.

    Checked 2026-12-03. Source pages may change after this edition.

  63. A05 / Bitcoin BIPs / Hunter Beast, Ethan Heilman, Isabel Foxen Duke

    BIP 360: Pay-to-Merkle-Root (P2MR)

    Draft status, long-exposure scope, no standalone short-exposure protection through new post-quantum signatures.

    Checked 2026-12-03. Source pages may change after this edition.

  64. A06 / NIST

    FIPS 180-4: Secure Hash Standard

    Hash digests and core hash properties; terminology used in the course.

    Checked 2026-12-03. Source pages may change after this edition.

  65. A07 / Bitcoin developer documentation contributors

    Bitcoin Developer Reference: Block Chain

    80-byte header structure, 32-bit nonce, inclusive target comparison; probability formula independently derived from uniform-digest model.

    Checked 2026-12-03. Source pages may change after this edition.

  66. A08 / NIST

    FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard

    ML-KEM establishes shared secret keys; it is not a digital-signature scheme.

    Checked 2026-12-03. Source pages may change after this edition.

  67. A09 / NIST

    FIPS 204: Module-Lattice-Based Digital Signature Standard

    ML-DSA is a digital-signature scheme.

    Checked 2026-12-03. Source pages may change after this edition.

  68. A10 / NIST

    FIPS 205: Stateless Hash-Based Digital Signature Standard

    SLH-DSA is a stateless hash-based digital-signature scheme.

    Checked 2026-12-03. Source pages may change after this edition.

  69. A11 / Bitcoin developer documentation contributors

    Bitcoin Developer Guide: Block Chain

    Independent node validation, transaction ordering, and proof of work. Historical guide is used for these durable mechanisms, not current feature inventory.

    Checked 2026-12-03. Source pages may change after this edition.

  70. A12 / Bitcoin developer documentation contributors

    Bitcoin Developer Guide: Transactions

    UTXO identity, value, spending conditions, and transaction structure. Historical guide is not treated as a current list of output types.

    Checked 2026-12-03. Source pages may change after this edition.

  71. A13 / Bitcoin BIPs / Pieter Wuille, Jonas Nick, Anthony Towns

    BIP 341: Taproot, SegWit version 1 spending rules

    Taproot output public key, key and script spending paths, deployed status.

    Checked 2026-12-03. Source pages may change after this edition.

  72. A14 / Certicom Research / Standards for Efficient Cryptography Group

    Standards for Efficient Cryptography 2 (SEC 2): Recommended Elliptic Curve Domain Parameters, version 2.0

    secp256k1 parameters and 128-bit security category; curve size is not equal to generic attack security strength.

    Checked 2026-12-03. Source pages may change after this edition.

  73. A15 / Bitcoin BIPs / Pieter Wuille

    BIP 350: Bech32m format for v1+ witness addresses

    Bech32 versus Bech32m witness address encoding.

    Checked 2026-12-03. Source pages may change after this edition.

  74. A16 / Lov K. Grover

    A fast quantum mechanical algorithm for database search

    Quadratic query improvement for unstructured search, distinct from Shor's algorithms.

    Checked 2026-12-03. Source pages may change after this edition.

  75. A17 / Bitcoin BIPs / Pieter Wuille

    BIP 32: Hierarchical Deterministic Wallets

    Tree of derived keys from seed material.

    Checked 2026-12-03. Source pages may change after this edition.

  76. A18 / Bitcoin BIPs / Marek Palatinus and coauthors

    BIP 39: Mnemonic code for generating deterministic keys

    Mnemonic entropy and checksum, optional passphrase, seed derivation.

    Checked 2026-12-03. Source pages may change after this edition.

  77. A19 / Bitcoin BIPs / Eric Lombrozo, Johnson Lau, Pieter Wuille

    BIP 141: Segregated Witness, consensus layer

    Witness data and commitment structure.

    Checked 2026-12-03. Source pages may change after this edition.

  78. L01 / NIST

    Secure Hash Standard (FIPS 180-4)

    SHA-256 construction and output length; teaching implementation validated against an independent implementation.

    Checked 2026-12-03. Source pages may change after this edition.

  79. L02 / Bitcoin BIPs contributors

    BIP 340: reference test vectors

    All 19 published verification fixtures, normalized and embedded locally. Public fixtures are not real wallet keys.

    Checked 2026-12-03. Source pages may change after this edition.

  80. L03 / Bitcoin BIPs contributors

    BIP 340: Schnorr Signatures for secp256k1

    Live verification equation, tagged hash, x-only point lifting, parity convention, range checks, and arbitrary message lengths.

    Checked 2026-12-03. Source pages may change after this edition.

  81. L04 / Bitcoin developer documentation contributors

    Bitcoin developer reference: block headers

    Real 80-byte block-header format and proof-of-work target; used to identify how the toy text-hashing puzzle differs.

    Checked 2026-12-03. Source pages may change after this edition.

Updating this edition: recheck the official advisory, specification status, publication date, and independent assessment. Preserve the previous cutoff when quoting this file. A source changing later does not retroactively update this offline textbook.

Font licenses and attribution
EMBEDDED FONT LICENSES
Retrieved from the official Google Fonts repository on 3 December 2026.
The following three families are distributed under SIL Open Font License 1.1.
The complete common license follows the individual copyright notices.

newsreader
Copyright 2020 The Newsreader Project Authors (http://github.com/productiontype/Newsreader)
Source: https://raw.githubusercontent.com/google/fonts/main/ofl/newsreader/OFL.txt

librefranklin
Copyright 2020 The Libre Franklin Project Authors (https://github.com/googlefonts/Libre-Franklin)
Source: https://raw.githubusercontent.com/google/fonts/main/ofl/librefranklin/OFL.txt

spacemono
Copyright 2016 The Space Mono Project Authors (https://github.com/googlefonts/spacemono)
Source: https://raw.githubusercontent.com/google/fonts/main/ofl/spacemono/OFL.txt

SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Follow the diagram.

Scroll sideways to follow wide diagrams.

Find an idea.

Type at least two characters.

Make room to read.

Notes and progress are stored only in this browser when storage is available. Resetting progress keeps your notes. Browser settings, private browsing, or moving this file can affect persistence. Export notes for a durable copy.