1001Ferramentas
🎲Utilities

Diceware Passphrase Generator

Generate secure Diceware passphrases: N random words joined by hyphen.

The math behind a passphrase that holds up

A strong password you can actually type and remember is an old problem, and the classic answer is the passphrase: words drawn at random, like 'pedra-farol-aveia-colar'. Here you pick 3 to 12 Portuguese words and a separator, and the phrase comes out with an entropy meter underneath showing, in bits, how expensive it is to brute-force. The draw uses the browser's cryptographic generator and nothing is sent to a server.

Passphrase strength is plain arithmetic: bits per word times word count, where bits per word is the log2 of the list size. Original Diceware uses 7,776 words at 12.9 bits each. The list on this page has about 100 Portuguese words, roughly 6.7 bits per word, and the on-screen meter reflects exactly that: 6 words land around 40 bits. The math assumes the attacker knows the method and the list; what protects you is the word count, not the secrecy of the recipe.

For a low-stakes account, 6 words will do. For a password manager master password or disk encryption, go up to 11 or 12 words and aim above 70 bits, or generate with a full-size Diceware list. Two practical rules: do not swap words by hand to make the phrase 'sound nicer', that cuts the randomness that gives it strength; and never reuse the same phrase across services. The draw runs entirely on your machine, using the browser's crypto API with bias-free sampling.

Frequently asked questions

How many words should I use?
With this page's list of about 100 words, each is worth roughly 6.7 bits: 6 words give about 40 bits, reasonable for everyday accounts; for a master password use 11 or 12. With a full 7,776-word Diceware list, 6 words already exceed 77 bits.
Can I swap out a word I don't like?
Better to regenerate the whole phrase. Hand-picking words reduces the real randomness, and the strength shown by the meter no longer applies.
Is a Portuguese passphrase weaker than an English one?
Language does not affect strength; what matters is the list size and the word count. The bit meter on screen is already computed from the list used here.

Related Tools