Adam Back and Hashcash: the idea Bitcoin's mining is built on
Cryptoriddler · Compass-Alpha
25 Nov 2026 · 8 min read · with video
Watch the video, or read the full story below. The video loads from YouTube when you press play.
Watch on YouTube ↗In 1992, two researchers at IBM opened a paper about email with a small complaint: one of them had come back from a short holiday to find 241 messages waiting. Email was cheap to send, so it was cheap to abuse. Their idea was to make every message cost the sender a little effort.
Five years later, a young British cryptographer turned that idea into something anyone could run on their own computer. He called it Hashcash. It never saved anyone's inbox, but it ended up somewhere much bigger: at the heart of Bitcoin mining. This is part two of our series on the origins of Bitcoin.
An old problem: email costs nothing to send
A letter needs a stamp. An email does not. For normal use that is wonderful, but it means a spammer pays almost the same for a million messages as you pay for one. The cost of junk mail lands on the people who receive it: their time, their attention, their mail servers.
Cynthia Dwork and Moni Naor, working at IBM's Almaden Research Center, described a way out in 1992, in a paper called 'Pricing via Processing or Combatting Junk Mail'. The mail system would ask the sender to solve a puzzle that is moderately hard to compute but very easy to check. A friend writing one message would barely notice. Someone blasting out a million would.
Their puzzles were mathematical and came with a shortcut, so that the post office running the system could still let bulk mailings through, at a price of its choosing. It was a research paper, not a program people installed. The idea waited for someone to make it practical.
28 March 1997: one email, one reply
That someone was Adam Back, a 26-year-old researcher at the University of Exeter in England and a regular on the cypherpunks mailing list, where privacy activists had been discussing digital cash for years.
On 28 March 1997 he sent the list, which had about 2,000 subscribers, a message with the subject line 'hash cash postage implementation'. At first only one reader replied. Back later wrote that he had come up with the idea without knowing about Dwork and Naor's earlier paper, and he credited them once he did.
His version had one big advantage: it was simple. No special mathematics, no central authority, no shortcut. Just a hash function that every computer already had.
What a Hashcash stamp looks like
A Hashcash stamp is one line of text in the header of an email. A typical version-1 stamp looks like this: 1:20:060408:adam@cypherspace.org::1QTjaYd7niiQA/sc:ePa.
Read from left to right, it says: format version 1; a difficulty of 20 bits; the date, here 8 April 2006; the address the email is going to; an empty field reserved for extensions; a random string; and finally a counter.
The sender's computer runs the whole line through SHA-1, a hash function that turns any text into a 160-bit fingerprint. Change one character and the fingerprint changes completely, with no way to predict it. The stamp only counts if the fingerprint starts with 20 zero bits, which you can see as five zeros at the start of the fingerprint written in hexadecimal. If it does not, the computer changes the counter and tries again.
Guesses for one 20-bit stamp
Each extra zero bit doubles the work: 20 bits means 2^20 = 1,048,576 tries on average.
Hard to make, instant to check
The receiver does not repeat that million-guess search. Their computer hashes the stamp once and looks at the first 20 bits. One calculation, and the answer is yes or no.
A few quick checks stop people from cheating. The address in the stamp must be the receiver's own, so a stamp made for one person cannot be used for another. The date must be recent, so old stamps cannot be saved up. And the receiver keeps a list of stamps already seen, so the same stamp cannot be spent twice.
That last point is worth remembering. Stopping the same piece of value from being used twice, the double-spending problem, is exactly what any form of digital cash has to solve.
Why spam won anyway
Hashcash was used. The popular open-source spam filter SpamAssassin could read Hashcash stamps and score email with a valid stamp as less likely to be spam. Microsoft Research ran its own project in the same spirit, called Penny Black after the world's first adhesive postage stamp. One of its proposals was a computation of about ten seconds per message; with roughly 80,000 seconds in a day, one machine could then send only about 8,000 emails a day.
But a stamp only helps if senders actually attach it, and most never did. Computers also vary enormously in speed, so a puzzle that is a small cost on a fast desktop can be a real burden on a slow device; researchers, including Dwork and Naor, later looked at puzzles limited by memory instead of processor speed to even this out. And spammers increasingly used networks of hijacked computers, so the work was not even done on their own machines.
Email filtering moved on to other methods. SpamAssassin removed its Hashcash support in version 4.0.0, released in December 2022.
The idea gets a name
By the late 1990s, computer scientists saw that these puzzles were a general tool, not just an anti-spam trick. In 1999, Markus Jakobsson and Ari Juels described them formally in a paper widely credited with coining the name that stuck: proof of work.
Proof of work means showing that a certain amount of computing effort has been spent, in a way that others can check with very little effort of their own. Hashcash is the textbook example.
From an email stamp to a chain of blocks
On 31 October 2008, Satoshi Nakamoto published the Bitcoin white paper. Section 4 says Bitcoin will use 'a proof-of-work system similar to Adam Back's Hashcash', and Back's Hashcash paper is reference [6].
The resemblance is close. A Bitcoin miner takes a block of transactions, adds a number called a nonce, and hashes it, using SHA-256 instead of SHA-1. The result has to fall below a target, which in practice means it starts with enough zeros. If not, the miner changes the nonce and tries again, exactly like a Hashcash counter.
What changed is what the work protects. A Hashcash stamp proves effort for one email and is then thrown away. In Bitcoin, every block includes the fingerprint of the block before it, so the work piles up. To rewrite an old payment, someone would have to redo the work for that block and for every block after it, while the rest of the network keeps adding new ones.
Bitcoin also adjusts the puzzle. Hashcash's difficulty did not adjust by itself; 20 bits was the usual default. Bitcoin recalculates its difficulty every 2,016 blocks, roughly every two weeks, so that a new block appears about every ten minutes on average however much computing power joins. And the miner who finds a valid block is paid for it, in new bitcoin plus the transaction fees.
The Bitcoin white paper, 31 October 2008
Section 4: 'a proof-of-work system similar to Adam Back's Hashcash.'
Emails with Satoshi
According to Back, Satoshi contacted him on 20 August 2008, before the white paper was public, to check that the paper cited Hashcash correctly, and shared an early draft. Back confirmed the citation and suggested other work to read, including b-money, a digital money proposal by the cypherpunk Wei Dai. In January 2009, Satoshi wrote again to say the Bitcoin software had been released.
For years those emails stayed private. They were made public in February 2024, during a court case in London, and were then published by the press.
What Back did next
Back stayed close to Bitcoin. In 2014 he co-authored a paper on pegged sidechains, a way to move bitcoin onto a separate network with its own features and back again, and the same year he co-founded Blockstream, a company that builds technology around Bitcoin. In October 2016 he became its CEO.
His early role has also made him one of the people named as a possible Satoshi. On 8 April 2026, New York Times journalist John Carreyrou published the result of more than a year of research: he concluded that Back was Satoshi. The case is circumstantial and rests largely on similarities in how the two wrote. Back denied it the same day on X: 'i'm not satoshi'. He put the similarities down to 'coincidence and similar phrases from people with similar experience and interests'. The question of who Satoshi was is the subject of the last part of this series.
A stamp that outlived its purpose
Hashcash was built to make spam expensive, and at that it failed. But it showed, in a few lines of code, that computer effort can be proven cheaply and checked instantly. Bitcoin took that stamp, chained the stamps together and paid people to make them, and the result secures a global payment network to this day.
This article is history, not advice. Next in the series: Hal Finney, the first person to receive bitcoin from Satoshi.
Sources
- Satoshi Nakamoto: Bitcoin, a peer-to-peer electronic cash system (white paper), section 4 and reference [6]
- Adam Back: the Hashcash announcement on the cypherpunks list (28 March 1997) and the first reply, thread archive
- Adam Back: Hashcash, a denial of service counter-measure (2002)
- The hashcash manual page
- LWN: SpamAssassin 4.0.0 released (December 2022)
- Satoshi Nakamoto: the white paper announcement on the Cryptography mailing list (31 October 2008)
- Bitcoin Core source code: chainparams (2,016-block difficulty period, 10-minute target)
- Email thread archive: Satoshi Nakamoto and Adam Back (2008 to 2009)
- Decrypt: Satoshi Nakamoto emails revealed (February 2024)
- Adam Back and others: Enabling blockchain innovations with pegged sidechains (2014)
- Blockstream: Blockstream appoints Hashcash inventor Dr Adam Back as CEO (3 October 2016)
- Cointelegraph: NYT report suggests Adam Back could be Satoshi Nakamoto (8 April 2026)
- Decrypt: Adam Back denies he's Satoshi Nakamoto after NYT names him (8 April 2026)
- Tom's Hardware: Adam Back refutes the New York Times investigation (April 2026)
- Bitcoin Magazine: The Genesis Files, Hashcash, or how Adam Back designed Bitcoin's motor block
- CoinDesk: Adam Back denies he's Satoshi Nakamoto after NYT report (8 April 2026)
- Cynthia Dwork and Moni Naor: Pricing via processing or combatting junk mail (Crypto '92)
- Hashcash version 1 stamp format (example stamp and fields), hashcash manual page (Debian)
- Apache SpamAssassin: UPGRADE notes (Hashcash plugin removed)
- BBC News (26 December 2003): Microsoft aims to make spammers pay, the Penny Black project (Cryptography list copy)
- Cynthia Dwork, Andrew Goldberg and Moni Naor: On memory-bound functions for fighting spam (2003)
- Markus Jakobsson and Ari Juels: Proofs of work and bread pudding protocols (1999)
- COPA v Wright: Adam Back's witness exhibit with the 2008 to 2009 Satoshi emails
Education only, not financial advice. Compass-Alpha never asks for your seed phrase, private keys or exchange logins.