Skip to content

Instantly share code, notes, and snippets.

@bgorkem
Created November 20, 2018 09:41
Show Gist options
  • Save bgorkem/a0c163bb178c73fa91ab4f601fb6ac8a to your computer and use it in GitHub Desktop.
Save bgorkem/a0c163bb178c73fa91ab4f601fb6ac8a to your computer and use it in GitHub Desktop.
Python generate AES-256 base-64 key
python -c 'import base64; import os; print(base64.encodestring(os.urandom(32)))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment