189
rated 0 times
[
194]
[
5]
/ answers: 1 / hits: 185871
/ 15 Years ago, wed, september 30, 2009, 12:00:00
What would be the best approach to creating a 8 character random password containing a-z
, A-Z
and 0-9
?
Absolutely no security issues, this is merely for prototyping, I just want data that looks realistic.
I was thinking a for (0 to 7) Math.random
to produce ASCII codes and convert them to characters. Do you have any other suggestions?
More From » javascript