排行榜:fix军团排行榜

This commit is contained in:
luying
2021-04-12 11:37:33 +08:00
parent 92a5035ad6
commit 07957e60f2
3 changed files with 5 additions and 4 deletions

View File

@@ -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;
}