pub fn decrypt_payload( cipher: Option<&AesCipher>, bytes: &[u8], ) -> Result<Option<Vec<u8>>, IoError>
Inverse of encrypt_payload: returns None on key mismatch or tag failure.
encrypt_payload
None