Wei Dai
Wei Dai is a computer engineer and cryptographer, and the author of b-money, a 1998 proposal for an anonymous, distributed electronic cash system that the Bitcoin whitepaper cites as its first reference. He also wrote Crypto++, the open-source C++ cryptography library whose Secure Hash Algorithm (SHA-256) routines shipped inside Bitcoin v0.1. Ethereum's smallest unit, the Wei, is attributed to him in secondary sources (see On-chain Footprint). He never built b-money and has said that Satoshi Nakamoto reinvented the idea without reading it. Since 2009 his published writing has appeared mainly on LessWrong, on decision theory and Artificial Intelligence (AI) risk.
Summary
- Name: Wei Dai. No pseudonym in use. Personal site: weidai.com, last modified January 2021.
- Computer science graduate of the University of Washington, shortly before b-money was published in 1998 (IEEE Spectrum).
- Regular on the Cypherpunks and Extropians mailing lists in the 1990s, later SL4 and the Everything-list.
- Author of Crypto++ (first released 1995), PipeNet (a low-latency anonymous communication protocol, first posted 1995) and b-money (1998). Co-author with Ted Krovetz of VMAC, a Message Authentication Code (MAC) algorithm (2007).
- Contacted by Satoshi Nakamoto on 2008-08-22, before the Bitcoin whitepaper was published.
- Stepped away from Crypto++ in June 2015; the project continues under community maintenance.
- LessWrong has been his primary venue since 2009: Updateless Decision Theory, metaphilosophy, and AI safety.
- No on-chain address is publicly attributed to him.
Identity
Wei Dai publishes under his real name and has never used a pseudonym for his cryptography or currency work. The New York Times described him in 2015 as an "intensely private computer engineer" (NYT), and his homepage warns that photos circulating online as his are of other people named Wei Dai. The homepage gives an email address and a Pretty Good Privacy (PGP) public key, and directs public questions to a LessWrong thread rather than to social media.
He has been named in Satoshi Nakamoto speculation alongside Nick Szabo and Hal Finney; all three have denied it. His own published view is that Satoshi is "probably one person" (LessWrong AALWA).
Themes & Modus Operandi
Proposals and Papers
Dai's output from the 1990s and early 2000s consists of short plain-text proposals and attacks: b-money, PipeNet, two attacks on the Freedom anonymity network, and an attack on the Secure Shell version 2 (SSH2) protocol. He implemented none of the proposals. Asked in 2014 what steps he took to code up b-money, he replied "I didn't take any steps to code up b-money", adding that it was not a complete practical design and that he had become somewhat disillusioned with crypto-anarchy by the time he finished writing it (LessWrong AALWA). Crypto++ is the exception: a library that other projects build on.
Adversarial Analysis
A share of his published work breaks other people's protocols. In 2002 he described a weakness in SSH2's use of Cipher Block Chaining (CBC) mode (ietf-ssh). Thai Duong has said that the 2011 attack on Secure Sockets Layer / Transport Layer Security (SSL/TLS) known as BEAST (Browser Exploit Against SSL/TLS), developed with Juliano Rizzo, was based on Dai's work (The Register, Bard 2006). The Freedom network attacks apply the same approach to a PipeNet-like design.
Statements on Bitcoin
Dai has repeatedly described his connection to Bitcoin as limited. In February 2011 he wrote: "I didn't create Bitcoin but only described a similar idea more than a decade ago," and that Satoshi "didn't even read my article before reinventing the idea himself" (LessWrong). In February 2016 he wrote that someone wanting to push the future in a positive direction has better things to work on than Bitcoin, and in September 2017 that he did not "currently have strong views on cryptocurrency per se" (LessWrong AALWA).
Notable Work / Projects
| WORK | YEAR | DESCRIPTION | LINKS |
|---|---|---|---|
| Crypto++ | 1995 | Free C++ class library of cryptographic schemes: ciphers, hashes, MACs, public-key systems. Its SHA-256 routines were used in Bitcoin v0.1 | See Public Presence |
| PipeNet | 1995 (v1.1 1998) | Low-latency anonymous communication protocol using fixed-size packets at a constant rate, layered link encryption and shuffled forwarding to resist traffic analysis | pipenet.txt · 1995 cypherpunks post |
| b-money | 1998 | Proposal for untraceable pseudonyms that create money through computational work, transfer it by signed broadcast, and enforce contracts through escrowed reparations | bmoney.txt |
| Freedom attacks | c. 2000 | Two attacks on the PipeNet-like protocol described in version 1.0 of the Freedom service's whitepaper | freedom-attacks.txt |
| SSH2 attack | 2002 | An attack on the SSH2 protocol's use of CBC mode | ssh2-attack.txt |
| VMAC | 2007 | Block-cipher-based MAC using universal hashing, co-proposed with Ted Krovetz as an Internet Engineering Task Force (IETF) draft | IETF draft · VHASH security |
| Updateless Decision Theory | 2009 | Decision theory in which an agent chooses the best policy under its prior instead of updating on observations, first described in "Towards a New Decision Theory" | LessWrong |
b-money in Brief
b-money describes a community in which, in Dai's words, government is "permanently forbidden and permanently unnecessary." It specifies two protocols.
In the first, every participant keeps a copy of every account balance. Anyone creates money by broadcasting the solution to a previously unsolved computational problem, credited at the cost of the computation measured in a basket of commodities. Transfers are signed broadcasts. Contracts are signed by all parties and an arbitrator, each of whom posts a maximum reparation into escrow; disputes are settled by every participant independently applying the proposed reparations. Dai called this protocol impractical because it needs a synchronous, unjammable anonymous broadcast channel.
The second protocol delegates bookkeeping to a subset of servers that post forfeitable deposits. A random set of servers confirms each transaction, and the servers periodically publish their money-creation and ownership databases so that participants can check their own balances and that total balances do not exceed money created. An appendix replaces the fixed cost table with a periodic auction for new money supply.
b-money shares three components with Bitcoin: Proof of Work as issuance, signed transfers, and a replicated ledger. It differs in two ways. It has no mechanism for agreeing on transaction order, which Bitcoin's chain of proof-of-work blocks provides. Its issuance is pegged to the real cost of computation to target a stable value, where Bitcoin follows a fixed schedule. Dai explained in 2014 that he specified the proof of work to have no other value "in order to not give people an extra incentive to create money" (LessWrong AALWA). The Ethereum whitepaper's history section credits b-money as "the first proposal to introduce the idea of creating money" through computational puzzles and decentralised consensus, "but the proposal was scant on details as to how decentralized consensus could actually be implemented" (Ethereum whitepaper).
Nick Szabo developed Bit Gold in the same period, "at the same time and on the same private mailing list where Dai was coming up with b-money", and calls b-money Dai's "related idea" (Unenumerated). Dai has described Szabo as regarding bit gold as an independent invention (gwern.net).
Timeline
timeline
title Wei Dai — Public Activity
section 1995–2002
1995 : Crypto++ first released
: PipeNet first posted to cypherpunks
Nov 1998 : b-money and PipeNet 1.1 posted to cypherpunks
c. 2000 : Freedom attacks published
2002 : SSH2 CBC attack posted
section 2007–2011
2007 : VMAC IETF draft with Ted Krovetz
Aug 2008 : Satoshi emails asking how to cite b-money
Oct 2008 : Bitcoin whitepaper cites b-money as reference 1
Jan 2009 : Satoshi emails announcing Bitcoin v0.1
Aug 2009 : Updateless Decision Theory
Feb 2011 : LessWrong statement on b-money and Bitcoin
Sep 2011 : Bitcoin drops its Crypto++ dependency
section 2014–2015
Mar 2014 : Satoshi emails quoted in Sunday Times, later published
Jun 2015 : Steps away from Crypto++
Figure 1: Public activity timeline. The Freedom attacks are dated from the Freedom whitepaper version they target and the earliest archived copy of the file. The 2011 Crypto++ removal is a Bitcoin commit, not an action by Dai.
On-chain Footprint
No on-chain address or contract is publicly attributed to Wei Dai, and DNZN has not attempted to find one. In February 2011 he mentioned starting to mine bitcoin (LessWrong); no address has been disclosed. His connections to the chain are through code and naming:
- ◇ Bitcoin v0.1 source: the
sha.cppfile in the original 2009 release opens with "SHA routines extracted as a standalone file from: Crypto++ … Version 5.5.2 (9/24/2007)" (v0.1 mirror). The dependency was removed in commit6ccff2cb, authored 2011-09-27 and merged 2011-09-30. - ◇ The wei unit: one ether is 10¹⁸ Wei, and every on-chain ETH value is denominated in it. The attribution of the name to Dai appears in secondary sources (Alchemy); DNZN did not locate a primary Ethereum source stating it. The same family of denominations includes
szaboandfinney.
Public Presence
| CHANNEL | URL | NOTES |
|---|---|---|
| Personal site | weidai.com | Plain-text papers, PGP key, mirror of the 1996–2003 Extropians archive |
| LessWrong | Wei_Dai | Primary venue since 2009. Also hosts his "Ask Any LessWronger Anything" thread |
| Crypto++ | cryptopp.com · GitHub | Community-maintained |
No social media accounts are listed on his homepage.
Notable Events
The Satoshi Correspondence
On 2008-08-22 Satoshi Nakamoto emailed Dai asking for b-money's publication year so it could be cited, writing "I'm getting ready to release a paper that expands on your ideas into a complete working system." The same email says Adam Back had pointed Satoshi to Dai's site, which matches Back's own account. Dai replied that b-money was announced on the cypherpunks list in 1998. On 2009-01-10 Satoshi wrote again to announce Bitcoin v0.1, saying "I think it achieves nearly all the goals you set out to solve in your b-money paper." The emails were quoted by the Sunday Times on 2014-03-02, and Dai later released them in full (gwern.net).
Dai's stated reason for releasing them was an argument against the theory that Szabo is Satoshi: if Szabo were Satoshi, it would be odd to tell Dai privately that Bitcoin expanded on b-money while citing b-money but not Szabo's own bit gold. He also said that Satoshi's writing "just doesn't read like" Szabo's.
Observations
- ◇ The whitepaper cites b-money as reference 1. Dai and Back both place the reference after the design, while Satoshi's first email describes the paper as expanding on b-money's ideas. The sources do not establish direct derivation.
- ◇ Bitcoin's proof-of-work chain addresses what b-money left unspecified: decentralised agreement on ordering without a synchronous broadcast channel or trusted servers. Protocol 2's deposit-backed servers resemble bonded Validator designs more than proof-of-work mining.
- ◇ The Crypto++ SHA-256 routines in v0.1 are Dai's direct technical link to Bitcoin; they were removed in 2011.
References
- weidai.com — personal homepage and papers
- b-money — original proposal (1999 archive)
- PipeNet 1.1 · 1995 cypherpunks post
- ietf-ssh — Dai on SSH2 CBC (2002)
- Bitcoin: A Peer-to-Peer Electronic Cash System — reference 1 is b-money
- Ethereum Whitepaper — History section
- gwern.net — Satoshi Nakamoto / Wei Dai emails
- LessWrong — "Making money with Bitcoin?" (2011)
- LessWrong — Ask Any LessWronger Anything (2014)
- LessWrong — Towards a New Decision Theory (2009)
- Nick Szabo — "Bitcoin, what took ye so long?" (2011)
- IEEE Spectrum — Bitcoin: The Cryptoanarchists' Answer to Cash (2012)
- New York Times — Decoding the Enigma of Satoshi Nakamoto (2015)
- Bitcoin v0.1 source mirror — sha.cpp
- Bitcoin commit 6ccff2cb — remove cryptopp dependency
- VMAC IETF draft
- Alchemy — What is Wei?
- Wikipedia — Wei Dai
Changelog
| DATE | AUTHOR | NOTES |
|---|---|---|
| 2026-11-22 | Artificial. | Generated by robots. Gas: 750 tok |
| 2026-11-22 | Denizen. | Reviewed, edited, and curated by humans. |