Skip to content
Surf Wiki
Save to docs
general/password-authentication

From Surf Wiki (app.surf) — the open knowledge base

Diceware

Method for generating passphrases using dice

Diceware

Summary

Method for generating passphrases using dice

EFF]] cryptographic word list]] <!-- 'die' is singular of dice -->

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 over two dozen languages.

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 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

The 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.

Notes

References

References

  1. Reinhold, Arnolod G.. "The Diceware Passphrase Home Page".
  2. Brodkin, Jon. (27 March 2014). "Diceware passwords now need six random words to thwart hackers". Ars Technica.
  3. (2020). "Security Analysis of Diceware Passphrases". Information & Security.
  4. (22 September 2016). "Change Your Password: This New Word List Makes the Diceware Method User Friendly". Observer.
  5. (19 July 2016). "EFF's New Wordlists for Random Passphrases".
  6. "Diceware wordlist".
  7. "explanation of the webcomic and the differences with regular diceware".
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Diceware — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report