@Test
    public void testEncryptDecryptDirectly() throws Exception {
        byte[] key = "key-123".getBytes(StandardCharsets.UTF_8);
        String plainText = "hello, inlong";
        byte[] cipheredBytes = AESUtils.encrypt(plainText.getBytes(StandardCharsets.UTF_8), key);
        byte[] decipheredBytes = AESUtils.decrypt(cipheredBytes, key);
        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