Encrypt a value for Binary FHE
Arguments
- ctx
A BinFHE context
- sk
An LWEPrivateKey
- message
Integer (0 or 1 for Boolean; larger for integer FHE)
- output
BINFHE_OUTPUT (default: 2 = BOOTSTRAPPED). Use
BinFHEOutput$LARGE_DIMtogether withmodfor the functional-bootstrapping path.- p
Plaintext modulus (default: 4)
- mod
Optional large ciphertext modulus Q for the LARGE_DIM path. NULL (default) selects the standard small-modulus encrypt.
