ytd7777 opened this issue 4 years ago · 1 comments
aes:new("1234567890123456",nil,aes.cipher(128,"ecb"),nil) 加密出来字符客户端不能解密,似乎是 pkcs7没设置,请问该如何设置?
aes:new("1234567890123456",nil,aes.cipher(128,"ecb"),{method = function(key)return key end, iv = string.rep(string.char(0), 16)}) 测试可用