Why a word passphrase beats a "complex" password
For years we were told to build passwords like Tr0ub4dor&3: short, with symbols and substitutions. The problem is they are hard for humans to remember and easy for machines to crack. A passphrase flips that logic: it uses several real words chosen at random, like sky-dog-table-wind. It is long (which is what matters for security) and memorable (which is what matters for you).
The technical key is entropy: how many possible combinations exist. Four random words from a list of 256 give 256⁴ ≈ 4.3 billion combinations. Decorations like swapping an a for an @ add very little entropy, because attackers know those tricks and try them first.
The famous "correct horse battery staple"
The idea went mainstream with the webcomic XKCD #936, titled Password Strength. It compares Tr0ub4dor&3 (about 28 bits of entropy, hard to remember) against correct horse battery staple (four common words, about 44 bits, easy to remember). The punchline that stuck: "Through 20 years of effort, we've successfully trained everyone to use passwords that are hard for humans to remember, but easy for computers to guess." This tool generates exactly that kind of passphrase, with real cryptographic randomness.
What diceware is
Diceware is a method published in 1995 by Arnold Reinhold. You roll five dice, note the result (say 3-1-6-2-4) and look that combination up in a numbered word list. You repeat for every word you want. The beauty is that each word is chosen with true physical randomness, not something that just "looks random". This generator replaces the dice with crypto.getRandomValues(), the browser's cryptographic randomness source, which is the recommended one for anything security-related.
How we calculate entropy
The formula is direct. If the list has N words and you pick k words at random (with repetition allowed), the entropy in bits is:
bits = k × log2(N) With our 256-word list, log2(256) = 8, so each word adds exactly 8 bits. Turning on "append a number" adds about 3.3 bits (one digit 0–9). Capitalizing every word adds no entropy because it is a fixed, predictable transformation. The number shown reflects only genuinely random choices.
When to use more words
This tool uses a compact 256-word list, so we recommend 8 words (64 bits) for a real password. Four words provide only 32 bits and are useful as a demonstration, not as a key. For an especially critical master passphrase, prefer a larger Diceware list or add more words with another audited tool. And remember the golden rule: a different passphrase per account.
Reference: words and entropy
With a 256-word list (log2 = 8 bits per word), no extras:
| Words | Combinations | Entropy | Level |
|---|---|---|---|
| 3 | 256³ ≈ 16.7 million | 24 bits | Weak |
| 4 | 256⁴ ≈ 4.3 billion | 32 bits | Weak |
| 5 | 256⁵ ≈ 1.1 trillion | 40 bits | Weak |
| 6 | 256⁶ ≈ 281 trillion | 48 bits | Limited |
| 7 | 256⁷ ≈ 72 quadrillion | 56 bits | Moderate |
| 8 | 256⁸ ≈ 1.8 × 10¹⁹ | 64 bits | Adequate |
Crack times assume a fast attacker trying 100 billion guesses per second (modern hardware against fast hashes). With slow, well-designed hashes the real time is much longer.