Skip to content

Instantly share code, notes, and snippets.

@remibreton
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remibreton/9961081 to your computer and use it in GitHub Desktop.
Save remibreton/9961081 to your computer and use it in GitHub Desktop.
// Change 15 to the password length
(function(e){var t="abcdefghijklmnopqrstuvwxz1234567890!@#$%?".split(""),n="";do{var r=t[Math.floor(Math.random()*t.length)];n+=Math.random()>.5?r.toUpperCase():r.toLowerCase()}while(n.length<e);return n})(15)
@remibreton
Copy link
Author

?0F7V@d8q#2%q35
O!p68g#Rbb$!@gv
?@g@K?i6dE#7w98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment