Function encryptAES128

  • Encrypts a message using AES-128 encryption.

    Parameters

    • messageHex: string

      Plaintext in hex form to encrypt

    • keyHex: string

      Key in hex form to use for encryption

    Returns string

    The encrypted message in hex form