crypto_password_generator
Generate cryptographically random passwords with configurable character classes, custom charsets, or pronounceable mode, excluding ambiguous characters if desired.
Instructions
Random Password Generator. Generate one or more cryptographically random passwords from configurable character classes (lowercase, uppercase, digits, symbols) with options for a custom charset, excluding look-alike or ambiguous characters, no repeated characters, and a pronounceable mode. Use this for dense mixed-character passwords; use crypto_password_generator_passphrase for memorable word-based passphrases or crypto_password_generator_pin for numeric-only codes. Randomness comes from crypto.getRandomValues. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (30 requests/min, 200/hour, 1000/day for anonymous callers). Returns each password with its length and estimated entropy in bits, the normalized options actually applied, and the character set used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Number of characters per password. Clamped to 4-128. | |
| includeUppercase | No | Include uppercase letters A-Z in the character set. | |
| includeLowercase | No | Include lowercase letters a-z in the character set. | |
| includeNumbers | No | Include digits 0-9 in the character set. | |
| includeSymbols | No | Include symbols from !@#$%&*+-=? in the character set. | |
| excludeSimilar | No | Remove look-alike characters (0, O, 1, l, I) from the character set to improve readability. | |
| excludeAmbiguous | No | Remove ambiguous punctuation ({}[]()/\'"`~,;.<>) from the character set. | |
| customCharset | No | When set, overrides all include* options and draws every character from this exact string instead. | |
| noRepeating | No | When true, no character repeats within a password; length must not exceed the character set size or the request fails. | |
| pronounceable | No | When true, generate alternating consonant/vowel syllables for an easier-to-say password; includeNumbers/includeSymbols/ includeUppercase still inject those, and customCharset/ excludeSimilar/excludeAmbiguous/noRepeating do not apply. | |
| quantity | No | How many passwords to generate. Clamped to 1-100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passwords | No | The generated passwords, one entry per requested quantity. | |
| options | No | The normalized options actually used after clamping defaults. | |
| charset | No | The character set the passwords were drawn from. |