solana_zk_token_sdk::zk_token_elgamal::ops

Function subtract_from

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

Subtract a constant amount to a ciphertext