De Wiki inetshell
Saltar a: navegación, buscar

https://docs.python.org/2/library/base64.html

>>> import base64
>>> encoded = base64.b64encode('data to be encoded')
>>> encoded
'ZGF0YSB0byBiZSBlbmNvZGVk'
>>> data = base64.b64decode(encoded)
>>> data
'data to be encoded'