Created
March 12, 2012 12:28
-
-
Save geoffalday/2021517 to your computer and use it in GitHub Desktop.
How to generate a secret key with Python
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
# How to generate a secret key with Python | |
# via http://flask.pocoo.org/docs/quickstart/ | |
import os | |
os.urandom(24) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you get any solution for this. I too facing the same issue