UNPKG

secure-password-utilities

Version:

Secure, zero-dependency utilities for generating passwords, passphrases, pins, and more

10 lines (8 loc) 418 B
export const DIGIT_CHARSET = '0123456789'; export const LOWERCASE_CHARSET = 'abcdefghijklmnopqrstuvwxyz'; export const UPPERCASE_CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; // OWASP password special characters except space and backslash. Has the benefit of evenly dividing 256. // // See https://owasp.org/www-community/password-special-characters // export const SYMBOL_CHARSET = '!"#$%&\'()*+,-./:;<=>?@[]{}^_`|~';