Created
June 1, 2011 17:20
-
-
Save reidrac/1002796 to your computer and use it in GitHub Desktop.
Generate a new random secret_key
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
#random key | |
from random import choice | |
charset = [chr(i) for i in range(32,38) + range(40,127)] | |
secret_key = ''.join([choice(charset) for i in range(64)]) | |
print secret_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment