MSTR Cat

Blockchain/Level I · Money/1.2 The cypherpunk road/Lesson 4

Hashcash: proof of work before bitcoin

The cost of computation as a seal: from email spam to digital scarcity

MaterialsAn online SHA-256 hash generatorA spreadsheet to log counter values and hex outputsThe Bitcoin whitepaper, section 4

Wonder

  1. What makes a stamp expensive to produce but nearly free to check?
  2. Why does a hash puzzle that takes microseconds to check take hours to solve?
  3. How did a tool for fighting junk mail become the engine of a currency?

Explore

  1. In 1992, Cynthia Dwork and Moni Naor proposed ‘Pricing via Processing’ to combat email spam. Their insight was that computation could act as a toll booth: forcing senders to solve a cryptographic puzzle made mass-mailing economically unviable while leaving occasional users unaffected. The idea stayed largely on paper for five years.
  2. Adam Back proposed Hashcash in March 1997, unaware of Dwork and Naor’s paper. The mechanism required senders to find a nonce—a variable string—such that the SHA-1 hash of the email header combined with that nonce began with a specific number of zero bits. This is a partial collision search: exponentially harder to find than to verify. Each valid solution served as a ‘stamp’ proving the sender had expended real computational effort.
  3. The power of Hashcash lies in asymmetry. Generating a valid stamp might require thousands or millions of hash attempts, consuming time and electricity; verifying it takes a single hash computation, measured in microseconds. This one-way function creates scarcity in a medium where copying is normally free. A spammer sending a million emails must perform a million times the work, while a recipient verifies each email with negligible overhead.
  4. Hashcash was not money because each stamp was bound to a specific recipient and timestamp, making it non-transferable and single-use. Its value also eroded as hardware improved, since cheaper computation reduced the cost of producing new stamps. It solved spam but failed to create durable store-of-value properties. The term ‘proof of work’ itself emerged later in 1999 from Markus Jakobsson and Ari Juels, formalizing this computational commitment.
  5. Satoshi Nakamoto cited Back’s Hashcash directly in section 4 of the Bitcoin whitepaper (October 2008), repurposing it for distributed timestamping. Where Hashcash used SHA-1 with a fixed difficulty, Bitcoin uses double SHA-256 against an adjustable target that retargets every 2016 blocks (~two weeks). This maintains a steady ~10-minute block interval regardless of network hash rate growth, stabilizing the issuance schedule and securing the ledger through cumulative computational cost.
  6. To experience this asymmetry: open any online SHA-256 tool. Hash the string ‘hello’. Then append a counter (0, 1, 2...) until the hex output starts with ‘0’, then ‘00’. Note how attempts grow exponentially. This brute-force search mirrors mining. Bitcoin’s difficulty adjustment ensures that as more miners join and hardware improves, the target tightens to keep block production constant, preserving the protocol’s economic rhythm.

Key facts

  • Dwork and Naor proposed ‘Pricing via Processing’ in 1992 to make email sending costly.
  • Adam Back announced Hashcash in March 1997 using SHA-1 partial collisions.
  • Hashcash verification takes one hash computation; generation requires ~2^k attempts for k zero bits.
  • The term ‘proof of work’ was coined by Jakobsson and Juels in 1999.
  • Bitcoin uses double SHA-256 with a difficulty target retargeting every 2016 blocks.
  • Hashcash stamps are non-transferable and bound to specific recipients, unlike bitcoin units.

Exercise nine, six, three, one

9CollectList 9 computational puzzles or hash-based commitments from cryptography. Note their original purpose (spam, signatures, mining) and verification cost.
6ClusterGroup the 9 into 6 by whether they were designed for security, scarcity, or both, and whether they are transferable or single-use.
3DistillReduce the 6 to 3 properties that distinguish a proof-of-work token from a mere digital signature.
1CrystallizeWrite 1 sentence on why computational cost creates scarcity where copying is otherwise free.

Fact check

Dates, figures and claims checked against the published sources listed below.

Open in the interactive academy →

PT ES ZH JA KO RU DE FR MS