What\'s the quickest way to generate a secure password in javascript?
I want it to contain at least 1 special character, and 2 mixed case. Must be at least 6 characters
I just get the post now. It is a bad idea to use Math.random() if you can spend few minutes to look at this article.
Actually there are crypto API into newer browsers and you must use it as soon as you start something touching cryptography.
That why i recommand to use My library which use the famous crypto API. It works both on server and client side (nodejs and browsers).
mk-