Advertisement
stuppid_bot

Pass Gen

Nov 17th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function randChars(length, charset) { length=length||8; charset=charset||'qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890'; var str=''; while (str.length<length) str+=charset.charAt(Math.random()*charset.length); return str }
  2.  
  3. randChars();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement