View source: R/key-switching.R
| key_switch_gen | R Documentation |
key_switch_gen() makes the key that switches ciphertexts under
old_private_key to ciphertexts under new_private_key.
key_switch() applies it and returns the switched ciphertext;
key_switch_in_place() switches the ciphertext it is given.
key_switch_gen(cc, old_private_key, new_private_key)
key_switch(ct, eval_key)
key_switch_in_place(ct, eval_key)
cc |
A |
old_private_key, new_private_key |
|
ct |
A |
eval_key |
The |
key_switch_gen(): an EvalKey. key_switch(): a
Ciphertext. key_switch_in_place(): ct, invisibly.
re_key_gen() for the form that needs only the public key
of the receiving party.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.