Skip to content

Instantly share code, notes, and snippets.

@prashant-shahi
Created January 17, 2019 12:39
Show Gist options
  • Select an option

  • Save prashant-shahi/724c1367a812e52b3fabb647dff32472 to your computer and use it in GitHub Desktop.

Select an option

Save prashant-shahi/724c1367a812e52b3fabb647dff32472 to your computer and use it in GitHub Desktop.
Generate secret key (24 characters)
$ python -c "import os; print os.urandom(24).encode('hex')"
dced1d987b5ac57e771e6d7300fe165b034c4b0b4fd5f3e3
$ python -c "import os; print os.urandom(24).encode('hex');"
643b19d39bbab834b20ac957abbf159c71f2760ff3b2edcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment