const crypto = require('crypto')
let Encrypt = (data, key) => {
const cipher = crypto.createCipher('aes192', key);
var crypted = cipher.update(data, 'utf8', 'hex');
crypted += cipher.final('hex');
return crypted;
}
let Decryp
Nodejs crypto 简单加密解密法
最新推荐文章于 2025-06-12 02:31:47 发布