lmstudio/password-generator
Secure random password generator for LLM agents.
Features
- Safe alphabets: Excludes easily confused characters (
l, I, O, 0, 1)
- Flexible character sets: All character sets (lowercase, uppercase, numbers, special) are optional and can be independently enabled or disabled
- Cryptographically secure: Uses Node.js
crypto.randomInt() for random generation
Parameters
| Parameter | Type | Default | Description |
|---|
length | number | 12 | Password length (4-64 characters) |
Lowercase | boolean | true | Include lowercase letters (safe alphabet, excludes 'l') |
Uppercase | boolean | true | Include uppercase letters (safe alphabet, excludes 'I', 'O') |
Numbers | boolean | true | Include numbers (safe alphabet, excludes '0', '1') |
SpecialChars | boolean | true | Include special characters |
Examples
Safe Alphabets
| Set | Characters | Excluded |
|---|
| Lowercase | abcdefghijkmnopqrstuvwxyz | l |
| Uppercase | ABCDEFGHJKLMNPQRSTUVWXYZ | I, O |
| Numbers | 23456789 | 0, 1 |
| Special | `!@#$%^&*()_+-=[]{} | ;:,.<>?` |