1617181920212223242526
@Test public void test() { SimpleAesEncryptor e = new SimpleAesEncryptor(); EncryptKey key = new BasicEncryptKey("hello"); byte[] data = "test123".getBytes(); byte[] ecData = e.encrypt(data, key); System.out.println(Arrays.toString(ecData));