Skip to main content

AES 256 encryption

The WhaTap application agent transfers the collected data after encryption. For this purpose, the XOR (Exclusive-OR) operation and Advanced Encryption Standard (AES) encryption are used. Encryption and decryption are performed by dividing plaintext into 128-bit units. To enhance security, the encryption can be extended up to 256 bits.

The Java Cryptography Extension (JCE) supports 128 bits by default. To apply the AES 256, JCE must be updated.

If you apply AES 256 in the default environment, the following error occurs.

Unsupported keysize or algorithm parameters.
##Or
Illegal key size or default parameters.
  1. Download the file for your version from the following links.

    Note

    Download versions for each Java version

  2. Overwrite the file in the $JAVA_HOME/jre/lib/security path.

  3. If JCE has been applied, add the following settings in ${WHATAP_HOME}/whatap.conf.

    whatap.conf
    cypher_level=256
  4. Once the application server has been restarted, the ACE 256 encryption is applied.