Skip to content

Instantly share code, notes, and snippets.

@tpmccallum
Created February 17, 2018 04:36
Show Gist options
  • Save tpmccallum/8fd18aa091bad8ad1bc8335faf9b4a3c to your computer and use it in GitHub Desktop.
Save tpmccallum/8fd18aa091bad8ad1bc8335faf9b4a3c to your computer and use it in GitHub Desktop.
plaintext = b'Proxy Re-encryption is cool!!'
alice_ciphertext, umbral_capsule = umbral.encrypt(alice_pub_key, plaintext)
print(alice_ciphertext)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment