How to create a strong password that holds up
What makes a password hard to guess, what doesn't help, and how to manage dozens of them without ever reusing one.
Length comes first
An attacker looking for a password does not guess it: they try combinations, very fast, often against a stolen copy of a website's database. What slows them down is the number of possible combinations, measured in bits of entropy. For a randomly generated password, that number is easy to work out: the length multiplied by the base-2 logarithm of the alphabet size.
| Random password | Bits per character | 12 characters | 16 characters | 20 characters |
|---|---|---|---|---|
| Lowercase only (26) | 4.7 | 56 bits | 75 bits | 94 bits |
| Lowercase, uppercase, digits (62) | 5.95 | 71 bits | 95 bits | 119 bits |
| All 94 printable characters | 6.55 | 79 bits | 105 bits | 131 bits |
Read the table diagonally: 20 random lowercase letters beat 12 characters mixing every character set. Each extra character multiplies the attacker's work, whereas one more character set only increases it a little. That is why current guidelines, such as those of the US NIST (publication SP 800-63B), focus on length and have dropped mandatory composition rules and forced periodic password changes.
Randomness, not imagination
These calculations only hold for a password that is truly random. A made-up password follows habits that cracking tools know perfectly well: a dictionary word, a capital letter at the start, a year and an exclamation mark at the end, letters swapped for look-alike symbols (a → @, e → 3, o → 0). “Sunshine2024!” ticks every box of a password policy, yet it is among the very first guesses of any cracking software.
The right method is therefore to leave the choice to a cryptographic generator, such as the kit's
password generator, which picks each character with
crypto.getRandomValues in your browser. The result means nothing, and that is exactly what you
want from it.
A passphrase for what you need to remember
Some passwords have to stay in your head: your password manager's, your computer login, the one that unlocks an encrypted drive. For these, a passphrase is hard to beat: a few common words picked at random from a long list.
The method comes from Diceware: a list of 7,776 words, as many as the possible outcomes of five dice
(6 × 6 × 6 × 6 × 6), or about 12.9 bits per word. Five words give about 65 bits, six words about 77 bits,
seven words about 90 bits. A phrase like giraffe-velvet-taxi-brush-storm-monday sticks in your
memory within a few days and is easy to type, even on a phone.
Two conditions make it strong: the words are picked at random (a quote, a song line or a sentence you make up yourself is much easier to find), and they come from a large enough list. Adding a digit or a capital letter adds little; adding a word adds almost 13 bits.
One password per account
The most common risk is not that an attacker guesses your password, but that they pick it up from a breach of a site you had forgotten about. Stolen credentials are then automatically tried on hundreds of other services: this is credential stuffing. A password used in only one place turns a breach into an incident limited to that site.
A unique password for every account means you cannot remember them all, and that is where a password manager comes in.
The password manager
A password manager keeps all your credentials in an encrypted vault, unlocked by a single passphrase. It does three things at once:
- It generates a long random password for every new account: 20 characters or more cost nothing, since you never type them.
- It remembers hundreds of different passwords, synced across your devices depending on the software you choose.
- It fills in login forms on the saved site, which also helps you spot a fake login page: on a domain that does not match the saved account, it suggests nothing.
Your memory effort then comes down to two or three passphrases. For important accounts (email, banking, the password manager itself), add two-factor authentication: even an excellent password benefits from a second factor. Our guide on two-factor authentication for a shared account explains how six-digit codes work.
Sharing a password
Sooner or later you have to give a password to someone: a new colleague, a contractor, a relative. Email and chat are the go-to options, but there the password stays readable for years, in sent folders, backups and synced histories.
With “Send with onlyU”, the generated password goes from the kit to onlyU tab to tab, in your browser, without appearing in any address or going through the kit's server. onlyU encrypts it in your browser and creates a link your recipient opens only once, valid for 24 hours, after which the link disappears. It is free, with no sign-up.
Once read, the password remains valid: that is the whole point. When the service allows it, ask your recipient to change it at first login and store it in their own password manager. For an API key or an application secret rather than a password, see the guide on how to generate and store a secret key.
In short: a long, random password, unique to each account, remembered by a password manager, and shared through a link that opens only once. The password generator takes care of the first part, onlyU of the last.