Function rabe::schemes::ac17::cp_decrypt [−][src]
pub fn cp_decrypt(
sk: &Ac17CpSecretKey,
ct: &Ac17CpCiphertext
) -> Result<Vec<u8>, RabeError>
The decrypt algorithm of AC17CP. Reconstructs the original plaintext data as Vec
Arguments
sk
- A Secret Key (SK), generated by the function cp_keygen()ct
- An AC17CP Ciphertext