Skip to content
Illinois License # 127.001891Lincolnshire · Chicago, ILinfo@meridianalarm.com

Tools and Resources

Password generator

Generates passwords in your browser from the cryptographic random source, and tells you how strong they are without overstating it.

Include

Nothing leaves your browser

The password is made on your device by crypto.getRandomValues, the browser's cryptographic random source. It is never sent anywhere, never written to the address bar, and this site keeps no record of it. The page works with the network disconnected, which is the easiest way to satisfy yourself of that.

Why a random byte is not a random character

The obvious way to pick from a 90 character pool is to take a random byte modulo 90. It is not uniform: 256 is not a multiple of 90, so the first 76 characters get a third appearance that the last 14 never get. The bias is small but it is free to avoid — bytes above the largest multiple of the pool size are discarded and another drawn.

"Must contain a digit" makes a password weaker

It feels like a strengthening rule. It is the opposite: it rules out every password that lacks a digit, so there are fewer left to guess. The cost is real at short lengths and negligible at long ones.

What requiring one character of each class costs, by password length
LengthWithout the ruleWith itCost
426.0 bits22.1 bits3.85 bits
851.9 bits50.9 bits1.07 bits
16103.9 bits103.6 bits0.26 bits
32207.7 bits207.7 bits0.03 bits

Most generators quote the first column while applying the rule, which overstates what they produced. The figure on this page is the second: the base two logarithm of the number of passwords the rules actually allow, counted by inclusion and exclusion over the character sets. A candidate that breaks the rule is discarded whole and a new one drawn, rather than having a character substituted into it — substitution would bias the result and make the figure untrue.

The practical reading: past about twenty characters the rule costs nothing worth counting, so leave it on if a system demands it and ignore it otherwise. Length is what matters.

How long it would take to guess

At a trillion guesses a second, with the default settings:

Entropy and average time to guess, by password length
LengthEntropyAverage time to guess
850.9 bits17 minutes
1277.4 bits3.2 thousand years
16103.6 bits246 billion years
20129.7 bits17.4 quintillion years
24155.7 bits1.2 × 10²⁷ years
32207.7 bits5.3 × 10⁴² years

A trillion guesses a second is a round number chosen to make the arithmetic legible, not a measurement. The real rate depends entirely on what is being attacked. Guessing at a login prompt that locks out after five tries is a different problem by many orders of magnitude from attacking a stolen database, and a stolen database is itself a different problem depending on how the passwords were stored. Treat the column as the shape of the curve, not a promise.

The time shown is the average, which is half the search space — an attacker expects to find it halfway through, not at the end.

The symbols that are missing

The symbol set leaves out the double quote, the single quote, the backtick and the backslash. Those are the four that cause trouble when a password is pasted into a shell command, a CSV, a JSON config or a device's own setup file, which is where these end up on a job. It costs about a fifth of a bit per character and saves a call back to site.

Device web interfaces often restrict symbols further, sometimes without saying which. If a camera or panel rejects a password, generate a letters-and-digits one of greater length rather than a short one with symbols — four extra characters buy back far more than the symbol set does.

What to do with it

A password this long is not one you will remember, which is the point. It belongs in a password manager, not on a label inside a panel door. If several people need it, that is what a shared vault is for.

For anything you do have to type from memory, a long passphrase of unrelated words beats a short string of symbols — but it has to be genuinely random words, not a phrase you chose, and that is a different tool from this one.

More in general calculators

Or jump to power and wiring, electronics and components, networking, video and storage and cable, conduit and site. Every calculator is on one page, with a search box.

Free consultation

Tell us about the property and what it needs.

We will look at the building, the risks and the way it is used, then quote a system that fits. No charge for the conversation.

Call 224-500-4670Request a quote