@Test
    void testEncryptDecryptByNullVersion() throws Exception {
        String plainText = "hello, inlong again";

        // when version is null no encryption is performed
        String cipheredText = AESUtils.encryptToString(plainText.getBytes(StandardCharsets.UTF_8), null);
        Assertions.assertEquals(plainText, cipheredText);

        // when version is null no decryption is performed
        byte[] decipheredBytes = AESUtils.decryptAsString(cipheredText, null);
        Assertions.assertEquals(plainText, new String(decipheredBytes, StandardCharsets.UTF_8));
    }
AES encryption and decryption util test.
inlong-manager/manager-common/src/test/java/org/apache/inlong/manager/common/util/AESUtilsTest.java