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

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

        Ok((transfer_comm_hi, decryption_handle_hi).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_hi(&self, role: Role) -> Result<ElGamalCiphertext, ProofError> {
        let transfer_comm_hi: PedersenCommitment =
            self.encrypted_transfer_amount.amount_comm_hi.try_into()?;
        let decryption_handle_hi = match role {
            Role::Source => self.encrypted_transfer_amount.decrypt_handles_hi.source,
            Role::Dest => self.encrypted_transfer_amount.decrypt_handles_hi.dest,
            Role::Auditor => self.encrypted_transfer_amount.decrypt_handles_hi.auditor,
        }
        .try_into()?;
        Ok((transfer_comm_hi, decryption_handle_hi).into())
    }
fn ciphertext_hi ( & self , role : Role ) -> Result < ElGamalCiphertext , ProofError > { let transfer_comm_hi : PedersenCommitment = self . encrypted_transfer_amount . amount_comm_hi . try_into ( ) ? ; let decryption_handle_hi = match role { Role :: Source => self . encrypted_transfer_amount . decrypt_handles_hi . source , Role :: Dest => self . encrypted_transfer_amount . decrypt_handles_hi . dest , Role :: Auditor => self . encrypted_transfer_amount . decrypt_handles_hi . auditor , } . try_into ( ) ? ; Ok ( ( transfer_comm_hi , decryption_handle_hi ) . into ( ) ) }
Extracts the lo ciphertexts associated with a transfer data
Extracts the lo ciphertexts associated with a transfer data
&self
role
Role