| get_pt_modulus | R Documentation |
get_modulus() of an LWECiphertext is its ciphertext modulus, and
get_pt_modulus() its plaintext modulus. set_modulus() and
set_pt_modulus() change the values recorded in the ciphertext, in
place; they do not rescale it.
get_pt_modulus(ct)
set_modulus(ct, modulus)
set_pt_modulus(ct, plaintext_modulus)
ct |
An |
modulus, plaintext_modulus |
The new value: a whole number of at most 2^53, or a string of decimal digits. |
get_modulus() and get_length() also work on an LWEPrivateKey
and an LWEPublicKey, and == and != compare two LWE
ciphertexts, two secret keys or two public keys by content.
get_pt_modulus(): a number, or a string of decimal digits
if the value is above 2^53. The setters: ct, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.