Password Generator
Description
Cryptographically secure password, passphrase, PIN, token, and UUID generation using Node.js crypto module. Includes password strength analysis with entropy calculation and crack-time estimation.
Usage
/password-generator [action] [options]
Actions & Options
| Action | Options | Description |
|---|---|---|
--generate |
--length <n> --count <n> --no-symbols --no-numbers --no-uppercase |
Random passwords (default: 16 chars) |
--passphrase |
--words <n> --separator <char> --count <n> |
Memorable passphrases (default: 4 words) |
--pin |
--length <n> --count <n> |
Numeric PINs (default: 6 digits) |
--token |
--length <n> --format hex|base64|urlsafe |
API tokens / secrets |
--uuid |
--count <n> |
UUID v4 generation |
--check |
"<password>" |
Password strength analysis |
--batch |
--type password|passphrase|pin|token --count <n> |
Batch generation |
| (no input) | Generate one strong 16-char password |
Strength Rating
| Rating | Entropy Bits | Estimated Crack Time |
|---|---|---|
| Weak | < 28 | Seconds to minutes |
| Fair | 28 - 47 | Hours to days |
| Good | 48 - 65 | Months to years |
| Strong | 66 - 99 | Centuries |
| Excellent | >= 100 | Heat death of universe |
Examples
Generate 3 passwords of 20 characters without symbols:
/password-generator --generate --length 20 --count 3 --no-symbols
Check password strength:
/password-generator --check "Tr0ub4dor&3"
Generate a 6-word passphrase:
/password-generator --passphrase --words 6