import console;
import crypt.bin;
import crypt.aes;
//创建AES加密算法容器
var aes = crypt.aes();
//设置密钥(最大32个字节)
aes.setPassword("libcckeylibcckey");
//设置加密向量
aes.setInitVector("libcciv libcciv ")
//加密
var str = aes.encrypt("123456");
console.log(string.upper(string.trim(crypt.bin.encodeHex(str,,0xC))))
str='833E4ABBC56C89041A9070F043641E3B';
//解密
console.log(aes.decrypt(crypt.bin.decodeHex(str)))
console.pause(true);