| eval_sign | R Documentation |
Extracts the most-significant bit of an LWE ciphertext encrypted
under the large modulus Q. The context must have been created with
arb_func = TRUE.
eval_sign(ctx, ct, scheme_switch = FALSE)
ctx |
A BinFHE context built with |
ct |
An LWECiphertext encrypted via |
scheme_switch |
Logical; when |
An LWECiphertext encrypting 0 if the input was negative (i.e. lay in the upper half of [0, Q)), 1 otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.