Open yitzgold opened 4 years ago
I know this has been a while, but I'm getting this updated and wanted to address this. The readme docs indicate that any of those characters may be used. I didn't see anything that said that all the characters would be used though.
However, I do think it should provide that option. I'll leave this open for commentary while I work on updating the lib.
Due to this bug, we are unable to use this in a system that automatically "tests" the strength of the password based on it containing a specific property (e.g checking for uppercase, lowercase, numeric, and special characters).
I appreciate the irony that attempting to enforce entropy in some respects decreases it, but estimating password strength in our use case trumps this.
const password = randomize("aA0", 8); console.log({password}); //{ password: 'lfwWBUif' }
in this case it didn't include any Numeric character