pub fn unseal_data(data: &[u8], keypair: &OffchainKeypair) -> Result<Box<[u8]>>
Decrypts a data previously encrypted with seal_data.
seal_data
The given keypair must correspond to the peer_id given during encryption.
keypair
peer_id