Skip to content

Instantly share code, notes, and snippets.

@youben11
Created September 28, 2021 11:34
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 youben11/c456e151055c8709969c489d794ca6f2 to your computer and use it in GitHub Desktop.
Save youben11/c456e151055c8709969c489d794ca6f2 to your computer and use it in GitHub Desktop.
x_enc= keys.encrypt(x)
res = h.run(keys.public_keys, x_enc)
print(f"Encrypted computation result: {keys.decrypt(res)}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment