Skip to content

Instantly share code, notes, and snippets.

@fedcuit
Forked from geoffalday/secretkey.py
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save fedcuit/49aea029c49a7f4ab07c to your computer and use it in GitHub Desktop.

Select an option

Save fedcuit/49aea029c49a7f4ab07c 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