Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

strong random password javascript

Math.random()                        // Generate random number, eg: 0.123456
             .toString(36)           // Convert  to base-36 : "0.4fzyo82mvyr"
                          .slice(-8);// Cut off last 8 characters : "yo82mvyr"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #strong #random #password #javascript
ADD COMMENT
Topic
Name
4+3 =