fn ciphertext_lo(&self, role: Role) -> Result<ElGamalCiphertext, ProofError> {
        let transfer_comm_lo: PedersenCommitment =
            self.encrypted_transfer_amount.amount_comm_lo.try_into()?;

        let decryption_handle_lo = match role {
            Role::Source => self.encrypted_transfer_amount.decrypt_handles_lo.source,
            Role::Dest => self.encrypted_transfer_amount.decrypt_handles_lo.dest,
            Role::Auditor => self.encrypted_transfer_amount.decrypt_handles_lo.auditor,
        }
        .try_into()?;

        Ok((transfer_comm_lo, decryption_handle_lo).into())
    }
/// Extracts the lo ciphertexts associated with a transfer data
Extracts the lo ciphertexts associated with a transfer data
Extracts the lo ciphertexts associated with a transfer data
fn ciphertext_lo(&self, role: Role) -> Result<ElGamalCiphertext, ProofError> {
        let transfer_comm_lo: PedersenCommitment =
            self.encrypted_transfer_amount.amount_comm_lo.try_into()?;
        let decryption_handle_lo = match role {
            Role::Source => self.encrypted_transfer_amount.decrypt_handles_lo.source,
            Role::Dest => self.encrypted_transfer_amount.decrypt_handles_lo.dest,
            Role::Auditor => self.encrypted_transfer_amount.decrypt_handles_lo.auditor,
        }
        .try_into()?;
        Ok((transfer_comm_lo, decryption_handle_lo).into())
    }
fn ciphertext_lo ( & self , role : Role ) -> Result < ElGamalCiphertext , ProofError > { let transfer_comm_lo : PedersenCommitment = self . encrypted_transfer_amount . amount_comm_lo . try_into ( ) ? ; let decryption_handle_lo = match role { Role :: Source => self . encrypted_transfer_amount . decrypt_handles_lo . source , Role :: Dest => self . encrypted_transfer_amount . decrypt_handles_lo . dest , Role :: Auditor => self . encrypted_transfer_amount . decrypt_handles_lo . auditor , } . try_into ( ) ? ; Ok ( ( transfer_comm_lo , decryption_handle_lo ) . into ( ) ) }
Extracts the lo ciphertexts associated with a transfer data
Extracts the lo ciphertexts associated with a transfer data
&self
role
Role