calcolatore.online

Secure Password Generator

Generate a secure random password. Customize length, uppercase, numbers, and symbols. Entropy and security level calculation.

How the Password Generator Works

This tool generates random, secure passwords directly in your browser. You can customize the length and character types. The generator also calculates the password's entropy, measuring its strength against brute-force attacks.

Random Generation

The password is created by selecting random characters from the available character set (charset). The base charset includes 26 lowercase letters, expandable with:

  • Uppercase (A-Z): +26 characters
  • Numbers (0-9): +10 characters
  • Symbols (!@#$%...): +27 characters

With all types enabled, the charset is 89 characters. A larger charset makes the password harder to guess.

Entropy: Measuring Security

Entropy is calculated as: E = L x log2(C), where L is length and C is charset size.

EntropyLevelBrute-force time (10B attempts/s)
< 36 bitsWeakSeconds - minutes
36-59 bitsFairHours - days
60-79 bitsGoodYears
80+ bitsVery strongMillions of years

A 16-character password with full charset has about 103 bits of entropy.

NIST Recommendations

The NIST guidelines SP 800-63B recommend:

  • Minimum length of 8 characters (12-16 preferred)
  • No mandatory periodic password changes without cause
  • Check passwords against known compromised password lists
  • Use a password manager for unique passwords per service

Privacy and Security

This generator runs entirely in the browser: the password is never transmitted to external servers.

Frequently Asked Questions

What is password entropy?
Entropy measures the randomness of a password in bits. It equals length x log2(charset size). More bits = harder to guess. At least 60 bits is recommended for good security.
Is the password saved or sent anywhere?
No, the password is generated entirely in your browser using JavaScript. No data is sent to external servers. Copy it immediately and save it in a password manager.
How long should a secure password be?
NIST recommends at least 8 characters, but 12-16 is preferred. With a full charset, 16 characters provides over 100 bits of entropy.