Diceware
Also known as: Diceware passphrase
Method for creating strong, memorable passphrases by rolling physical dice to pick random words from a numbered list, ensuring true randomness.
Diceware is a technique for generating passphrases, sequences of randomly chosen unrelated words, using ordinary dice as the source of randomness. Each word is chosen by rolling five dice and looking up the resulting five-digit number in a list of 7,776 words, one for every possible combination. Because every word is selected at random rather than by a person, the resulting passphrase has a precisely calculable strength and avoids the predictable patterns people fall into when inventing passwords themselves.
Arnold Reinhold published the Diceware method and its original word list in 1995. Each word adds about 12.9 bits of entropy, so a six-word passphrase offers roughly 77 bits, enough to resist offline brute-force guessing far better than a typical human-chosen password. In 2016 the Electronic Frontier Foundation published revised word lists designed to be easier to type and remember, avoiding obscure or offensive words. Many password generators offer Diceware-style passphrases, although rolling physical dice removes any need to trust a computer's random number generator.
Diceware passphrases are best suited to the few secrets that must be memorized: a password manager master password, a disk encryption passphrase or an account recovery key. They illustrate a lesson also popularized by a 2011 xkcd comic: length and genuine randomness matter more than complexity rules requiring symbols and capital letters. Strength depends entirely on the words being chosen randomly; picking favorite words or rearranging them into a sentence reduces security. Combined with multi-factor authentication, a Diceware master passphrase forms a strong foundation for personal OPSEC.
Key points
- Diceware uses physical dice to choose words at random from a list of 7,776 entries.
- Each randomly chosen word adds about 12.9 bits of entropy to a passphrase.
- Arnold Reinhold created the method in 1995, and the EFF published revised word lists in 2016.
- Diceware suits memorized secrets such as password manager and disk encryption passphrases.
Related entries
Password Manager
Software that generates, stores and fills strong, unique passwords and other secrets in an encrypted vault protected by one master credential.
Brute-Force Attack
Attack that tries every possible password, key or combination until the correct one is found, relying on computing power rather than cleverness.
Electronic Frontier Foundation
Nonprofit organization founded in 1990 that defends civil liberties online through litigation, policy advocacy, technology projects and public education.
Full-Disk Encryption
Encryption of an entire storage device so that all data on it is unreadable without the correct key, protecting lost or stolen devices.
KeePassXC
Free and open-source, cross-platform password manager that stores credentials in an encrypted local database file compatible with KeePass.
Multi-Factor Authentication
Sign-in method that requires two or more independent kinds of evidence, such as a password plus a phone or security key, before granting access.
OPSEC
The practice of protecting critical information by denying adversaries insight into one's activities, intentions, capabilities or vulnerabilities.
Bitwarden
Open-source password manager with end-to-end encrypted cloud sync across devices, offered as a hosted service or for self-hosting.
Referenced by
Other entries that discuss or point to Diceware.