Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 1, 2018 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/cd796205d8f87993912f3757b7cd4e70 to your computer and use it in GitHub Desktop.
Save Fhernd/cd796205d8f87993912f3757b7cd4e70 to your computer and use it in GitHub Desktop.
Codificación y decodificación en Base64. OrtizOL.
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