secure-random-password
Version:
Generate passwords using a cryptographically-strong source of randomness
9 lines (8 loc) • 317 B
JavaScript
exports.lower = 'abcdefghijklmnopqrstuvwxyz';
exports.upper = exports.lower.toUpperCase();
exports.consonants = 'bcdfghjklmnpqrstvwxyz';
exports.vowels = 'aeiou';
exports.digits = '1234567890';
exports.symbols = '!@#$%^&*()';
exports.fullSymbols = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~';
exports.copyableSymbols = '_';