2021222324252627282930
EncryptKey key = new BasicEncryptKey("hello"); byte[] data = "test123".getBytes(); byte[] ecData = e.encrypt(data, key); System.out.println(Arrays.toString(ecData)); byte[] deData = e.decrypt(ecData, key); String s = new String(deData);