Skip to content

Instantly share code, notes, and snippets.

@bergpb
Last active November 1, 2020 20:48
Show Gist options
  • Select an option

  • Save bergpb/f568d5b93b8a32353087447a607f0b1b to your computer and use it in GitHub Desktop.

Select an option

Save bergpb/f568d5b93b8a32353087447a607f0b1b to your computer and use it in GitHub Desktop.
Generate secret key in python 3.6

Generate secret key in python +3.6

python -c "import secrets; print(secrets.token_hex(32))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment