Skip to main content

unseal_data

Function unseal_data 

Source
pub fn unseal_data(
    _data: &[u8],
    _keypair: &OffchainKeypair,
) -> Result<Box<[u8]>>
Expand description

CURRENTLY NOT IMPLEMENTED, see https://github.com/hoprnet/hoprnet/issues/7172

Decrypts data previously encrypted with seal_data.

The given keypair must correspond to the peer_id given during encryption.