Module solana_zk_token_sdk::zk_token_elgamal::ops
source · Functions
Add two ElGamal ciphertexts
Add a constant amount to a ciphertext
Compute
left_ciphertext + (right_ciphertext_lo + 2^16 * right_ciphertext_hi)
Multiply an ElGamal ciphertext by a scalar
Subtract two ElGamal ciphertexts
Subtract a constant amount to a ciphertext
Compute
left_ciphertext - (right_ciphertext_lo + 2^16 * right_ciphertext_hi)