Last active
August 15, 2016 18:56
-
-
Save Kyle-Falconer/7c3c97c96574cdb8c2ac33fcf6187ae2 to your computer and use it in GitHub Desktop.
make a random string
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
# method 1: | |
openssl rand -base64 40 | |
# method 2: | |
echo "import hashlib ; from uuid import uuid4 ; print hashlib.sha256(str(uuid4())).hexdigest()" | python - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment