DEV Community

Discussion on: Random Password Generator

Collapse
 
fjones profile image
FJones

While the shuffle at least prevents the password from following a clear order of character types, by iterating over the types you still enforce a balance of character types, which in turn reduces randomness. Other than that, this is really neat - especially explicitly using window.crypto!