Module ecies
cfxkey
0.3.0
Module ecies
Module Items
Functions
In cfxkey::
crypto
cfxkey
::
crypto
Module
ecies
Copy item path
Source
Functions
ยง
decrypt
Decrypt a message with a secret key, checking HMAC for ciphertext and authenticated data validity.
encrypt
Encrypt a message with a public key, writing an HMAC covering both the plaintext and authenticated data.