crypt庫fork來自此處. cf僅對(duì)其文件進(jìn)行合并方便編譯.
目前支持的加密算法如下:
"hashkey", "randomkey",
"desencode", "desdecode",
"hexencode", "hexdecode",
"hmac64", "hmac64_md5",
"dhexchange", "dhsecret",
"base64encode", "base64decode",
"sha1", "hmac_sha1",
"hmac_hash", "xor_str"
local crypt = require "crypt"
更多建議: