ipfe_encrypt

Function ipfe_encrypt 

Source
pub fn ipfe_encrypt(
    mpk: &IpfeMasterPublicKey,
    plaintext: &[i64],
) -> FunctionalEncryptionResult<IpfeCiphertext>
Expand description

Encrypt a plaintext vector using the master public key

§Arguments

  • mpk - Master public key
  • plaintext - Vector of integers to encrypt

§Returns

Encrypted ciphertext