Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active January 24, 2018 16:13
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 parzibyte/49c61a945a0000d9404cb1f307790d89 to your computer and use it in GitHub Desktop.
Save parzibyte/49c61a945a0000d9404cb1f307790d89 to your computer and use it in GitHub Desktop.
from sjcl import SJCL
texto_cifrado = SJCL().encrypt("Hola, soy un mensaje secreto", "Yo soy la palabra secreta")
print("Texto cifrado: ")
print(texto_cifrado)
texto_descifrado = SJCL().decrypt(texto_cifrado, "Yo soy la palabra secreta")
print("Texto descifrado: ")
print(texto_descifrado)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment