Created
January 4, 2019 08:46
-
-
Save reymon359/890d7df57960950093bc44d41775b183 to your computer and use it in GitHub Desktop.
Jus another token generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author: Ramon morcillo @reymon359 | |
function random() { | |
return Math.random().toString(36).substr(2); // To remove `0.` | |
} | |
function token() { | |
return random() + random(); // To make it longer | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment