| bin_encrypt | R Documentation |
Encrypt a value for Binary FHE
bin_encrypt(
ctx,
sk,
message,
output = BinFHEOutput$BOOTSTRAPPED,
p = 4L,
mod = NULL
)
ctx |
A BinFHE context |
sk |
An LWEPrivateKey, or an LWEPublicKey to encrypt under the public key. |
message |
Integer (0 or 1 for Boolean; larger for integer FHE) |
output |
An element of BinFHEOutput (default:
|
p |
Plaintext modulus (default: 4) |
mod |
Optional large ciphertext modulus Q for the LARGE_DIM path. NULL (default) selects the standard small-modulus encrypt. A whole number of at most 2^53, or a string of decimal digits for a larger value. |
An LWECiphertext
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.