• Decrypt a message.

    Parameters

    • options: {
          encryptedData: EthEncryptedData;
          privateKey: string;
      }

      The decryption options.

      • encryptedData: EthEncryptedData

        The encrypted data.

      • privateKey: string

        The private key to decrypt with.

    Returns string

    The decrypted message.