pub fn transfer_amount_source_ciphertext(
    transfer_amount_ciphertext: &TransferAmountCiphertext
) -> ElGamalCiphertext
Expand description

Extract the transfer amount ciphertext encrypted under the source ElGamal public key.

A transfer amount ciphertext consists of the following 32-byte components that are serialized in order:

  1. The commitment component that encodes the transfer amount.
  2. The decryption handle component with respect to the source public key.
  3. The decryption handle component with respect to the destination public key.
  4. The decryption handle component with respect to the auditor public key.

An ElGamal ciphertext for the source consists of the commitment component and the decryption handle component with respect to the source.