HOME

TheInfoList



OR:

Diceware is a method for creating passphrases, passwords, and other cryptographic variables using ordinary dice as a hardware random number generator. For each word in the passphrase, five rolls of a six-sided die are required. The numbers from 1 to 6 that come up in the rolls are assembled as a five-digit number, e.g. ''43146''. That number is then used to look up a word in a cryptographic word list. In the original Diceware list ''43146'' corresponds to ''munch''. By generating several words in sequence, a lengthy passphrase can thus be constructed randomly. A Diceware word list is any list of unique words, preferably ones the user will find easy to spell and to remember. The contents of the word list do not have to be protected or concealed in any way, as the security of a Diceware passphrase is in the number of words selected, and the number of words each selected word could be taken from. Lists have been compiled for several languages, including
Basque Basque may refer to: * Basques, an ethnic group of Spain and France * Basque language, their language Places * Basque Country (greater region), the homeland of the Basque people with parts in both Spain and France * Basque Country (autonomous co ...
, Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, English,
Esperanto Esperanto (, ) is the world's most widely spoken Constructed language, constructed international auxiliary language. Created by L. L. Zamenhof in 1887 to be 'the International Language' (), it is intended to be a universal second language for ...
, Estonian, Finnish, French, German, Greek,
Hebrew Hebrew (; ''ʿÎbrit'') is a Northwest Semitic languages, Northwest Semitic language within the Afroasiatic languages, Afroasiatic language family. A regional dialect of the Canaanite languages, it was natively spoken by the Israelites and ...
, Hungarian, Italian, Japanese,
Latin Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
, Māori, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish and Turkish. The level of unpredictability of a Diceware passphrase can be easily calculated: each word adds 12.9 bits of entropy to the passphrase (that is, \log_2(6^5) bits). Originally, in 1995, Diceware creator Arnold Reinhold considered five words () the minimal length needed by average users. However, in 2014 Reinhold started recommending that at least six words () be used. This level of unpredictability assumes that potential attackers know three things: that Diceware has been used to generate the passphrase, the particular word list used, and exactly how many words make up the passphrase. If the attacker has less information, the entropy can be greater than . The above calculations of the Diceware algorithm's entropy assume that, as recommended by Diceware's author, each word is separated by a space. If, instead, words are simply concatenated, the calculated entropy is slightly reduced due to redundancy; for example, the three-word Diceware phrases "in put clammy" and "input clam my" become identical if the spaces are removed.


EFF wordlists

The
Electronic Frontier Foundation The Electronic Frontier Foundation (EFF) is an American international non-profit digital rights group based in San Francisco, California. It was founded in 1990 to promote Internet civil liberties. It provides funds for legal defense in court, ...
published three alternative English diceware word lists in 2016, further emphasizing ease-of-memorization with a bias against obscure, abstract or otherwise problematic words; one tradeoff is that typical EFF-style passphrases require typing a larger number of characters.


Snippet

The original diceware word list consists of a line for each of the possible five-die combinations. One excerpt:
...
43136	mulct
43141	mule
43142	mull
43143	multi
43144	mum
43145	mummy
43146	munch
43151	mung
...


Examples

Diceware wordlist passphrase examples: * dobbs bella bump flash begin ansi * easel venom aver flung jon call EFF wordlist passphrase examples: * conjoined sterling securely chitchat spinout pelvis * rice immorally worrisome shopping traverse recharger Th
XKCD #936 strip
shows a password similar to a Diceware generated one, even if the used wordlist is shorter than the regular -words list used for Diceware.


See also

* Brute-force attack * Key size discusses how many bits of key are considered "secure". * The PGP biometric word list uses two lists of 256 words, each word representing 8 bits. * S/KEY uses a list of 2,048 words to encode 64-bit numbers as six English words * Password strength * Random password generator * Hashcat * What3Words


Notes


References

* ''Internet Secrets,'' 2nd Edition, John R. Levine, Editor, Chapter 37, IDG Books, 2000,


External links


English diceware page
has the complete description and word lists in several languages.
A client-side diceware multi-wordlist password generator with complete source code

Web-based diceware app that uses the cryptographically secure getRandomValues() function

English Diceware wordlist
from the
Electronic Frontier Foundation The Electronic Frontier Foundation (EFF) is an American international non-profit digital rights group based in San Francisco, California. It was founded in 1990 to promote Internet civil liberties. It provides funds for legal defense in court, ...
* {{GitHub, https://github.com/dmuth/diceware Password authentication Dice Random number generation