@Test
    void testEncryptDecryptByConfigVersion() throws Exception {
        String plainText = "hello, inlong again";
        Integer version = AESUtils.getCurrentVersion(null);
        String cipheredText = AESUtils.encryptToString(plainText.getBytes(StandardCharsets.UTF_8), version);
        byte[] decipheredBytes = AESUtils.decryptAsString(cipheredText, version);
        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