Security

How to Create a Strong Password and Keep It Safe

Most password advice reads like a list of rules to memorize: one capital, one number, one symbol, change it every ninety days. Those rules produce passwords like Summer2026! that are tiring to remember and not as hard to guess as they look.

Good password habits are simpler than the rules suggest. A few choices matter a great deal: how long the password is, whether it is random, whether it is used in only one place, and whether you have a second step on your important accounts. This guide walks through each one and ends with a calm plan for what to do if a service you use is breached.

Why length matters more than clever substitutions

An attacker guessing passwords works through possibilities, and the number of possibilities grows far faster with length than with fancy characters. Each extra character multiplies the search space by the size of the character set. Swapping an a for an @ barely helps, because cracking tools try those common substitutions as a matter of routine.

A rough way to compare passwords is to count how many equally likely choices were available. A random password of 12 characters from letters and digits (62 symbols) has about 62 to the 12th power possibilities, around 3 times 10 to the 21st. Make it 20 characters and the figure is about 62 to the 20th, roughly 7 times 10 to the 35th. That is not twice as strong, it is about fifteen trillion times larger. Long and random wins.

The catch is the word random. These numbers apply only when each character is chosen independently. A long password built from a pattern, such as a name plus a year, is much weaker than its length suggests.

What random generation actually means

Humans are poor at randomness. We favor familiar words, keyboard patterns, birthdays, and a capital letter at the start with a digit at the end. Attackers know this and test those habits first.

A password generator avoids the problem by drawing each character from a cryptographically secure random source, so no character depends on the one before it. The ELDOSA Password Generator does this in your browser using the browser's own cryptographic random values, lets you choose a length from 4 to 128 characters and which character types to include (lowercase, uppercase, numbers and symbols), and by default leaves out look-alike characters such as the letter O and the digit 0. Nothing is sent to a server, so the password exists only on your screen until you copy it.

If you are generating a password for a site that accepts it, choose a long length, such as 16 to 20 or more, because you will be pasting it from a manager rather than typing it. Some sites restrict which symbols are allowed or cap the length, and you may need to adjust for that.

Passphrases for the few you must remember

You can type most passwords from a manager, but a few you must remember: the manager's own master password, your computer login, and perhaps your email. For these, a passphrase made of several random words is easier to recall than a string of symbols and can be just as strong.

The word choice must be random too. Picking four words from a list of 7,776 words using dice or a generator gives about 7,776 to the 4th power possibilities, roughly 3.7 times 10 to the 15th. Six words raises that to about 2.2 times 10 to the 23rd. A phrase you invented from a song lyric or a quote, in contrast, is far easier to guess, because attackers also try well-known phrases.

Use spaces or hyphens if the site allows them, and form a short mental picture linking the words so that they stick. Say the phrase aloud a few times over a couple of days and it will become automatic.

Example format (do not use this one):
corridor-velvet-anchor-pebble-sunrise-marble

One password per account, and why

Reuse is the habit that turns a small incident into a large one. When a site is breached, the stolen email and password pairs are commonly tried against other services, a technique called credential stuffing. If your streaming login also unlocks your email, the weakest site decides how safe the strongest one is.

Uniqueness also makes breaches easier to handle. If every account has its own password, a leak at one service means changing one password, not a day of detective work.

Let a password manager do the remembering

Unique, long, random passwords are impossible to memorize across dozens of accounts, which is exactly what a password manager is for. It stores your credentials in an encrypted vault, unlocked by the one strong passphrase you remember, and fills them in for you. Many browsers and operating systems include one, and standalone apps exist as well.

A manager also helps against phishing, since it fills a password only on the site address it was saved for. If it refuses to offer your login, treat that as a sign to look closely at the address in the browser bar.

Set up a recovery method for the vault, such as a printed recovery code kept in a safe place, so that forgetting the master passphrase does not lock you out permanently.

Add a second step to the accounts that matter most

Two-factor authentication asks for something besides the password, so a stolen password alone is not enough. Start with your email, since password resets for everything else flow through it, then financial accounts, your password manager, and anything that holds personal data.

Not all second steps are equal. An authenticator app that produces a time-based code or a hardware security key is generally stronger than a code sent by text message, though a text code is still much better than nothing. Save the backup codes the service gives you, and keep them somewhere other than the device that receives the codes.

What to do after a breach

Breach notices are common and rarely mean disaster, especially if you follow the habits above. Respond in proportion, working through this order.

  • Change the password for the affected account right away, using a new generated one.
  • If you ever reused that password elsewhere, change it on those accounts too, starting with email and finance.
  • Turn on two-factor authentication if the account supports it.
  • Review recent activity and recovery settings, such as the backup email address and phone number.
  • Be careful with unexpected messages that mention the breach, since scammers use news of incidents. Go to the service's site directly instead of following a link.

Tools mentioned in this guide

Frequently asked questions

Do I need to change my passwords regularly?

Not on a fixed schedule if each one is long, unique, and random. Forced periodic changes tend to push people toward predictable tweaks. Change a password when you have a reason, such as a breach notice, signs of unauthorized access, or sharing it with someone.

Is it safe to write passwords on paper?

For a home environment, a paper note kept somewhere private can be a reasonable backup, especially for a master passphrase or recovery codes. The risk is someone physically finding it, so store it as you would store important documents.

Should I let my browser save passwords?

Built-in browser managers are far better than reusing one password everywhere. Protect the device with a strong login and a screen lock, because anyone who can unlock the device may be able to view saved passwords. A dedicated manager adds features but the habit matters most.

Are security questions worth answering truthfully?

Truthful answers are often easy for others to research or guess. Many people treat them as extra passwords, entering a random string and saving it in their manager, so that the answer cannot be looked up on social media.

More guides