Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

password generator

function password(length,base64) {
    //let num=typeof length=='number'?Math.round(Math.random()*length*36):Math.round(Math.random()*10*36)
    let ret='';for(let i=0;i<length;i++){ret+=Math.round(Math.random()*36).toString(36)}
    return base64?(btoa(ret)):ret
}
Source by codingblog.online #
 
PREVIOUS NEXT
Tagged: #password #generator
ADD COMMENT
Topic
Name
2+2 =