Created
February 6, 2017 07:09
-
-
Save sh1n0b1/0353b46efb051d3d610a4c908c7a3ea5 to your computer and use it in GitHub Desktop.
Revisions
-
sh1n0b1 created this gist
Feb 6, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/bin/python3 from base64 import b64encode from os import urandom random_bytes = urandom(64) token = b64encode(random_bytes).decode('utf-8') print(token)