hopr_crypto_types

Module seal

Source
Expand description

Enables randomized encryption (sealing) and decryption of data using OffchainKeypair.

Functionsยง

seal_data
Performs randomized encryption of the given data, so that only the recipient with the given peer_id can decrypt it.
unseal_data
Decrypts a data previously encrypted with seal_data.