Created
February 6, 2017 07:09
-
-
Save sh1n0b1/0353b46efb051d3d610a4c908c7a3ea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
from base64 import b64encode | |
from os import urandom | |
random_bytes = urandom(64) | |
token = b64encode(random_bytes).decode('utf-8') | |
print(token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment