Password Generator

Generate secure passwords with customizable parameters. Choose length, character types, and complexity level.

How it works

This tool provides accurate calculations and conversions for your daily needs. Simply enter your values and get instant results.

Our algorithms ensure precision and reliability, making complex calculations simple and accessible to everyone.

Formula

entropy = length × log₂(pool_size)

Frequently Asked Questions

How the Password Generator Works

The password generator uses a cryptographically secure random number generator (CSPRNG) to create secure passwords. Each character is selected uniformly from the available character set, ensuring maximum entropy and security.

Entropy Formula

Password entropy is calculated using the formula:

entropy = length × log₂(pool_size)

Where length is the password length, andpool_size is the size of the available character set after applying exclusions.

Character Types

  • Lowercase letters (a-z): 26 characters
  • Uppercase letters (A-Z): 26 characters
  • Digits (0-9): 10 characters
  • Symbols (!@#$%^&*...): 32 characters

Entropy Examples

  • 8 characters, digits only: 8 × logâ‚‚(10) ≈ 26.6 bits
  • 12 characters, letters + digits: 12 × logâ‚‚(62) ≈ 71.4 bits
  • 16 characters, all types: 16 × logâ‚‚(94) ≈ 105.4 bits
  • 20 characters, all types: 20 × logâ‚‚(94) ≈ 131.8 bits

Security Recommendations

  • Minimum length: 12-16 characters for regular accounts
  • High security: 20+ characters for banks, cryptocurrencies
  • Uniqueness: Use different passwords for each account
  • Password manager: Store passwords in a reliable password manager
  • Regular updates: Change important passwords every 3-6 months

Generator Features

  • Cryptographic security: Uses Web Crypto API
  • Character exclusion: Can exclude problematic characters
  • Ambiguous characters: Automatic exclusion of 0, O, l, I, etc.
  • Guaranteed classes: Minimum number of characters from each type
  • Extra characters: Support for Unicode characters

Technical Details

The generator uses the Fisher-Yates algorithm for uniform character shuffling and rejection sampling to avoid modulo bias. Each character is selected independently and uniformly from the available set, ensuring maximum entropy.