排行榜:fix军团排行榜
This commit is contained in:
@@ -27,10 +27,10 @@ export function aesDecrypt(data, key, iv) {
|
||||
}
|
||||
|
||||
export function aesEncryptcfb(data, key, iv) {
|
||||
console.log('****aesEncryptcfb', data)
|
||||
const cipher = crypto.createCipheriv('aes-192-cfb', key, iv);
|
||||
let crypted = cipher.update(data, 'utf8', 'hex');
|
||||
crypted += cipher.final('hex');
|
||||
console.log('****aesEncryptcfb', data, crypted)
|
||||
return crypted;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user