Created
August 1, 2018 11:59
-
-
Save Fhernd/cd796205d8f87993912f3757b7cd4e70 to your computer and use it in GitHub Desktop.
Codificación y decodificación en Base64. OrtizOL.
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
import base64 | |
cadena = b'Python' | |
# Codificación en Base64: | |
codificacion = base64.b64encode(cadena) | |
print(codificacion) | |
# Decodificación en Base64: | |
print(base64.b64decode(codificacion)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment