Wei Dai

Wei Dai Bitcoin

Wei Dai is a computer engineer[1] and cypherpunk best known as creator of b-money and the developer of the Crypto++ library. Dai is listed as inventor on U.S. patents 5724279 and 6081598 which were assigned to Microsoft.


Biography of Wei Dai

Education and career

Mr. Dai graduated from the University of Washington with a degree in Computer Science and is described as an “intensely private computer engineer”. His profile as a member of the advisory board for the (now defunct) VoteHere.net indicated:

"Mr. Dai worked in the Cryptography Research Group at Microsoft Corporation in Redmond, Washington. While at Microsoft, he was involved in the study, design and implementation of cryptosystems for specialized applications. Prior to joining Microsoft, Mr. Dai was a programmer with TerraSciences of Acton, Massachusetts. Mr. Dai holds a Bachelor of Science degree from the University of Washington in computer science, with a minor in mathematics." 

Wei Dai and Cryptography

Dai has made numerous contributions to the field of cryptography and has identified critical Cipher Block Chaining (CBC) vulnerabilities affecting SSH2[2] and the browser exploit against SSL/TLS known as BEAST (Browser Exploit Against SSL/TLS).


Crypto++ (also known as CryptoPP, libcrypto++, and libcryptopp) is a free and open source C++ class library of cryptographic algorithms and schemes written by Wei Dai. Crypto++ has been widely used in academia, student projects, open source and non-commercial projects, as well as businesses.


VMAC is a block cipher-based message authentication code (MAC) algorithm using a universal hash proposed by Ted Krovetz and Wei Dai in April 2007. The algorithm was designed for high performance backed by a formal analysis.[3]


In 1998, Dai Wei helped to spark interest in cryptocurrencies with the publication of “b-money, an anonymous, distributed electronic cash system”. In the paper, Dai outlines the basic properties of all modern day cryptocurrency systems: “…a scheme for a group of untraceable digital pseudonyms to pay each other with money and to enforce contracts amongst themselves without outside help”.[4]

Wei Dai and Bitcoin

Described as “money which is impossible to regulate”, Dai’s b-money described the core concepts later implemented in Bitcoin and other cryptocurrencies:

  • Requires a specified amount of computational work (aka Proof-of-work).
  • The work done is verified by the community who update a collective ledger book.
  • The worker is awarded funds for their effort.
  • Exchange of funds is accomplished by collective bookkeeping and authenticated with cryptographic hashes.
  • Contracts are enforced through the broadcast and signing of transactions with digital signatures (i.e., public key cryptography).

Relationship with Satoshi Nakamoto

Wei Dai and Adam Back were the first two people contacted by Satoshi Nakamoto as he was developing Bitcoin in 2008 and the b-money paper was referenced in the subsequent Bitcoin whitepaper.[5]

In a May 2011 article, noted cryptographer Nick Szabo states:

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).[6]

However Dai questions b-money’s influence on

...my understanding is that the creator of Bitcoin, who goes by the name Satoshi Nakamoto, didn't even read my article before reinventing the idea himself. He learned about it afterward and credited me in his paper. So my connection with the project is quite limited.[7]

There has been much speculation as to the identity of Satoshi Nakamoto, with suspects including Wei Dai, Nick Szabo, Hal Finney and accompanying denials.

WEI currency unit

The smallest unit of Ether (cryptocurrency of the Ethereum network) is the wei (named after Wei Dai).[8]

See Also on BitcoinWiki

External links


  1. Decoding the Enigma of Satoshi Nakamoto and the Birth of Bitcoin
  2. Some Fixes To SSH
  3. VHASH Security
  4. B-Money
  5. Bitcoin: A Peer-to-Peer Electronic Cash System
  6. Bitcoin, what took ye so long?
  7. Wei_Dai comments on Making money with Bitcoin?
  8. Ethereum: A Secure Decentralised Generalised Transaction Ledger