mkaz.com home photography web dev about

JavaScript : Password Generator

Generated Password:

# of chars

No Punction Marks
Random Length (6 - 12)

 
 


This is a little script which can generate a random password. Test it out by clicking generate random password.

This scipt only works in 4.0 browser I can not find a function in older JavaScript that can convert CHAR numbers to strings, if you know of one please let me know.


Here are a few of the key functions used in the code :


How I get my random number:

How I convert random number to string:


Use your browser to View Source of this page to see how it is all put together.