Aller au contenu

Générateur de Mots de Passe Aléatoires Sécurisés

Générez des mots de passe à haute entropie localement avec window.crypto.getRandomValues. 100% dans le navigateur, sans télémétrie ni envoi réseau.

Configurez les options et cliquez sur Générer

Générateur de Mots de Passe Aléatoires Sécurisés

100% CSPRNG Local

Générez des mots de passe à haute entropie localement avec window.crypto.getRandomValues. 100% dans le navigateur, sans télémétrie ni envoi réseau.

Jeux de caractères

20 caractères
82064128
Jeux de caractères

Force du mot de passe

Force du mot de passe:Très fort
Taille du jeu de caractères: 89Entropie de Shannon estimée: ~129.5 bits

L'entropie est une estimation mathématique théorique basée sur la taille du jeu et la longueur, et non une garantie absolue contre les attaques ciblées.

Mots de passe générés

Configurez les options et cliquez sur Générer

Les mots de passe générés ne sont jamais envoyés sur le réseau, jamais journalisés et jamais stockés dans le navigateur.

Cryptographically Secure Randomness vs. Pseudo-Random Number Generators

Standard JavaScript Math.random() relies on pseudo-random number algorithms (such as xorshift128+) designed for speed rather than cryptographic unpredictability. Because PRNG internal state can be reconstructed from observed sequence outputs, passwords generated via Math.random() are fundamentally vulnerable to reverse-engineering and statistical prediction attacks.

This tool utilizes window.crypto.getRandomValues(), which interfaces directly with the host operating system's cryptographic random number generator (such as /dev/urandom on Linux and macOS or CryptGenRandom / BCryptGenRandom on Windows). This guarantees true cryptographically secure pseudo-randomness (CSPRNG) with maximum information entropy.

Information Entropy Calculation (Shannon Entropy)

Password strength is mathematically measured in bits of entropy using Shannon's entropy formula:

Entropy (bits) = L * log2(R)
  • L = Password length in characters
  • R = Size of the available character pool (e.g. 90 unique characters when uppercase, lowercase, numbers, and symbols are enabled)

A 20-character password drawn from a pool of 90 characters delivers approximately 130 bits of entropy, requiring an astronomical 2130 brute-force attempts to exhaust the keyspace—far exceeding modern supercomputing capabilities.

Guaranteed Character Representation and Unbiased Shuffling

Many simplistic password generators pick random characters from a concatenated pool, which creates a probabilistic risk that a required character class (such as special symbols or digits) might be omitted in a specific password.

Our generator enforces strict representation: at least one character is selected directly from each active class, remaining positions are populated uniformly from the combined pool using rejection sampling to eliminate modulo bias, and the entire character array undergoes an unbiased cryptographic Fisher-Yates shuffle.

Zero-Retention & Zero-Backend Privacy Architecture

In accordance with strict zero-knowledge security standards:

  • 100% Client-Side: All computations execute strictly within your local browser JavaScript engine. No passwords, seeds, or parameters are ever sent to an external server.
  • Zero Persistence: Generated passwords exist solely in ephemeral memory and are never written to localStorage, sessionStorage, cookies, or indexed databases.
  • Zero Auto-Copy: Passwords are never placed into your system clipboard without an explicit user click on the Copy action button, preventing clipboard snooping attacks.

Frequently Asked Questions

Les mots de passe sont-ils envoyés à un serveur externe ?
Non. La génération se déroule entièrement dans la mémoire de votre navigateur via window.crypto.getRandomValues sans aucune requête réseau.
Pourquoi utiliser crypto.getRandomValues plutôt que Math.random ?
Math.random utilise un générateur pseudo-aléatoire prévisible. window.crypto tire son entropie du noyau cryptographique du système d’exploitation.
Les mots de passe sont-ils conservés dans le stockage local ?
Jamais. Les mots de passe résident uniquement dans la mémoire volatile de React. Seules les préférences non sensibles sont persistées.