0
$\begingroup$

HElib has no general purpose API for number operations such as comparison or division. How can we implement division operation on ciphertext?How to encrypt floating numbers of any length in homomorphism and add, subtract, multiply and divide them?

$\endgroup$
  • $\begingroup$ There is no general API since you have to handle many parameters, all together. Comparison, see here Representing a function as FHE circuit, for division consider the easiest division as possible that requires low multiplicative depth. Floating, use the fixed point representation? $\endgroup$ – kelalaka Feb 25 at 8:14
  • $\begingroup$ Please forgive me not to express myself clearly, it means the plaintext is floating-point. And how can I understand the meaning of the easiest division? $\endgroup$ – wanying Feb 25 at 8:44
  • $\begingroup$ Yes, I got it, floating-point. Low multiplicative depth? $\endgroup$ – kelalaka Feb 25 at 8:45
  • $\begingroup$ But how do I construct a division between ciphertext? by using binary or design a new operation? $\endgroup$ – wanying Feb 25 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.