crypto-securekeygen
v1.0.3
Published
A lightweight, powerful password generator
Downloads
4
Maintainers
Readme
SecureKeyGen
"SecureKeyGen" is a lightweight, powerful password generator that helps you create strong, customizable passwords with ease.
Features
- Customizable password length
- Option to include numbers, symbols, and uppercase letters
- Uses crypto for secure random generation
Installation
npm install crypto-securekeygen
Usage
const generatePassword = require('crypto-securekeygen');
// Generate a default password
console.log(generatePassword());
// Generate a 12-character password with specific requirements
console.log(generatePassword({ length: 12, numbers: true, symbols: true, uppercase: true }));
Options
length
: (default 8) The length of the generated password.numbers
: (default true) Include numbers in the password.symbols
: (default true) Include symbols in the password.uppercase
: (default true) Include uppercase letters in the password.
Secure your applications with easy-to-use, strong passwords generated by "SecureKeyGen".