Skip to content

Instantly share code, notes, and snippets.

@a1exlism
Last active March 31, 2018 05:11
Show Gist options
  • Save a1exlism/0e6f9beb8b959f18a28078274f39d529 to your computer and use it in GitHub Desktop.
Save a1exlism/0e6f9beb8b959f18a28078274f39d529 to your computer and use it in GitHub Desktop.
import base64
encoded = base64.b64encode(b'DATA')
data = base64.b64decode(encoded)
print data
16
32
base64.bXXencode()
'''
from https://docs.python.org/3.3/library/base64.html
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment