Skip to content

Instantly share code, notes, and snippets.

@kiasaki
Forked from geoffalday/secretkey.py
Last active August 29, 2015 14:07
Show Gist options
  • Save kiasaki/6861755138478bf8ff94 to your computer and use it in GitHub Desktop.
Save kiasaki/6861755138478bf8ff94 to your computer and use it in GitHub Desktop.
# 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