Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make strong random password

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
ADD COMMENT
Topic
Name
5+2 =