View source: R/methods-eval-backlog.R
| re_key_gen | R Documentation |
re_key_gen() makes a re-encryption key from one party's secret
key and another party's public key. With it, re_encrypt() turns a
ciphertext under the first party's key into one the second party
can decrypt, without decrypting it. The context needs
Feature$PRE.
re_key_gen(cc, old_private_key, new_public_key)
re_encrypt(ct, eval_key, public_key = NULL)
cc |
A |
old_private_key |
The |
new_public_key |
The |
ct |
A |
eval_key |
The |
public_key |
The |
re_key_gen() returns an EvalKey; re_encrypt() a
Ciphertext.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.