Wei Dai
Wei Dai is described as an intensely private computer engineer. Yet somewhere in his quiet, unpublicized work sit ideas that now underpin a currency used and argued over worldwide. What did a private engineer build that a pseudonymous stranger later leaned on to invent Bitcoin? And why does his name keep surfacing in the guessing game over who that stranger, Satoshi Nakamoto, actually was?
Dai graduated from the University of Washington with a degree in computer science.
Throughout the 1990s, Dai took part in three mailing lists: the Cypherpunks, the Extropians, and SL4. On SL4, he traded ideas with Eliezer Yudkowsky, Robin Hanson, Nick Bostrom, Aubrey de Grey, and Anders Sandberg, members of a nascent rationalist community.
That mix of programming skill and philosophical debate would soon turn from ideas exchanged on SL4 to a hunt for actual flaws in encryption software.
Dai identified critical vulnerabilities in Cipher Block Chaining, an encryption mode used in SSH2, exposing a weakness attackers could exploit. He is also credited with the browser exploit against SSL/TLS known as BEAST, short for Browser Exploit Against SSL/TLS.
In 1995, Dai released Crypto++, an open-source C++ library offering ready-made implementations of cryptographic algorithms. He kept building on the project until June 2015, when he stepped away to pursue other work, leaving the Crypto++ community to maintain it.
In April 2007, Dai and cryptographer Ted Krovetz proposed VMAC, a message authentication code built on a block cipher and a universal hash. The two designed it for high performance, a claim they backed with formal mathematical analysis.
Years before this auditing work, Dai had already tackled the problem of building money that needed no bank, a project he called b-money.
In 1998, Dai published a paper titled "b-money, an anonymous, distributed electronic cash system," helping to spark wider interest in cryptocurrencies. In it, he described his proposal as "a scheme for a group of untraceable digital pseudonyms to pay each other with money and to enforce contracts amongst themselves without outside help."
Dai never framed b-money as a cryptocurrency blueprint, but the properties he listed in it read like one anyway.
Described as "money which is impossible to regulate," b-money first required a specified amount of computational work to add value to the system. That requirement is the same principle cryptocurrencies now call proof of work. The community itself verified that work, updating a shared, collective ledger book, and whoever performed it earned funds as a reward. Every exchange of money ran through that same collective bookkeeping, authenticated with cryptographic hashes.
Contracts, under this design, were enforced not by courts but by the broadcast and signing of transactions. Those transactions were secured with digital signatures, built on public key cryptography. Dai draws a firm line between his sketch and what came after it, a distinction that would matter once Bitcoin's actual creator entered the picture.
Wei Dai and cryptographer Adam Back were the first two people Satoshi Nakamoto contacted directly while developing Bitcoin in 2008. Nakamoto's own Bitcoin whitepaper cites Dai's b-money paper, tying the two proposals together in writing.
In a May 2011 piece, cryptographer Nick Szabo wrote: "Myself, Wei Dai, and Hal Finney were the only people I know of who liked the idea (or in Dai's case his related idea) enough to pursue it to any significant extent until Nakamoto (assuming Nakamoto is not really Finney or Dai)."
Dai himself questions how much his paper actually shaped Bitcoin, pushing back against the tidier version of the story. Speculation about Nakamoto's real identity has named Dai alongside Szabo and Finney, three suspects who have each denied being the pseudonymous creator.
Whatever the truth behind Nakamoto's identity, Dai's 1998 paper remains cited in the founding document of the currency that grew up around it.
Up Next
Common questions
Who is Wei Dai?
Wei Dai is a computer engineer known for contributions to cryptography and cryptocurrencies. He developed the Crypto++ library, created the b-money system, and co-proposed the VMAC algorithm.
What did Wei Dai create in 1998?
In 1998, Wei Dai published a paper titled 'b-money, an anonymous, distributed electronic cash system.' The paper described a scheme for untraceable digital pseudonyms to pay each other and enforce contracts without outside help.
When did Wei Dai release the Crypto++ library?
Wei Dai originally wrote and released Crypto++, an open-source C++ cryptography library, in 1995. He stepped away from the project in June 2015, and the Crypto++ community has maintained it since.
How is Wei Dai connected to Bitcoin and Satoshi Nakamoto?
Wei Dai and cryptographer Adam Back were the first two people Satoshi Nakamoto contacted directly while developing Bitcoin in 2008. Nakamoto's Bitcoin whitepaper also cites Dai's b-money paper directly.
What is VMAC and who co-created it with Wei Dai?
VMAC is a block cipher-based message authentication code that uses a universal hash. It was co-proposed by cryptographer Ted Krovetz and Wei Dai in April 2007, designed for high performance backed by formal analysis.
Has Wei Dai been suspected of being Satoshi Nakamoto?
Yes, speculation about Satoshi Nakamoto's real identity has named Wei Dai alongside Nick Szabo and Hal Finney. All three have denied being Nakamoto.
All sources
24 references cited across the entry
- 1Ask A LessWronger AnythingWei Dai — 2014-03-18
- 2Bitcoin: The Cryptoanarchists' Answer to CashMorgen E. Peck — May 30, 2012
- 3NewsDecoding the Enigma of Satoshi Nakamoto and the Birth of BitcoinNathaniel Popper — May 15, 2015
- 4BookThe AI Does Not Hate You: Superintelligence, Rationality and the Race to Save the WorldTom Chivers — Weidenfeld & Nicolson — 2019
- 5Some Fixes To SSHXu ZiJie
- 6NewsGoogle preps Chrome fix to slay SSL-attacking BEASTDan Goodin — Sep 21, 2011
- 7A Challenging but Feasible Blockwise-Adaptive Chosen-Plaintext Attack on SSLGregory V. Bard — 2006
- 10Crypto++ 5.6.3 Release NotesNovember 20, 2015
- 11B-MoneyWei Dai
- 13B-MoneyWei Dai — 1998
- 15ReportVMAC: Message Authentication Code using Universal HashingWei Dai et al. — Internet Engineering Task Force — 2007-04-23
- 16JournalVHASH SecurityWei Dai — 2007-08-29
- 17NewsThe rise (and rise?) of BitcoinDaniel Cooper — May 8, 2013
- 18JournalThe politics of cryptography: Bitcoin and the ordering machines.DuPont, Quinn — 2014
- 19Bitcoin: A Peer-to-Peer Electronic Cash SystemSatoshi Nakamoto
- 20NewsBitcoin, what took ye so long?Nick Szabo — 2011-05-28
- 21JournalMaking money with Bitcoin?February 2011
- 22Satoshi Nakamoto is (probably) Nick SzaboWordPress — December 2013
- 23Here's The Problem With The New Theory That A Japanese Math Professor Is The Inventor Of BitcoinJoe Weisenthal — 19 May 2013
- 24NewsHal Finney received the first Bitcoin transaction. Here's how he describes it.Andrea Peterson — January 3, 2014
- 25NewsBitcoin Creator 'Satoshi Nakamoto' Unmasked–Again?Paul Vigna — Apr 16, 2014