Function rabe::schemes::lsw::decrypt [−][src]
pub fn decrypt(
_sk: &KpAbeSecretKey,
_ct: &KpAbeCiphertext
) -> Result<Vec<u8>, RabeError>
The decrypt algorithm of LSW KP-ABE. Reconstructs the original plaintext data as Vec
Arguments
_sk
- A Secret Key (SK), generated by the function keygen()_ct
- A LSW KP-ABE Ciphertext