Module cfxstore::cfxkey::crypto::ecies

Expand description

ECIES function

Functions§

  • Decrypt a message with a secret key, checking HMAC for ciphertext and authenticated data validity.
  • Encrypt a message with a public key, writing an HMAC covering both the plaintext and authenticated data.