solana_zk_token_sdk::zk_token_elgamal::ops

Function add_to

Source
pub fn add_to(
    ciphertext: &ElGamalCiphertext,
    amount: u64,
) -> Option<ElGamalCiphertext>
Expand description

Add a constant amount to a ciphertext