Functionsยง
- add
- Add two ElGamal ciphertexts
- add_to
- Add a constant amount to a ciphertext
- add_
with_ lo_ hi - Compute
left_ciphertext + (right_ciphertext_lo + 2^16 * right_ciphertext_hi)
- multiply
- Multiply an ElGamal ciphertext by a scalar
- subtract
- Subtract two ElGamal ciphertexts
- subtract_
from - Subtract a constant amount to a ciphertext
- subtract_
with_ lo_ hi - Compute
left_ciphertext - (right_ciphertext_lo + 2^16 * right_ciphertext_hi)