From 65ae08add61dcd7926455aa68f65d40e09129141 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 7 Apr 2022 08:28:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BD=91=E6=98=93=E6=AD=8C?= =?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85=E6=97=A0=E6=B3=95=E6=89=93=E5=BC=80?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/utils/music/wy/utils/crypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/utils/music/wy/utils/crypto.js b/src/renderer/utils/music/wy/utils/crypto.js index c54b018c..85a35ac8 100644 --- a/src/renderer/utils/music/wy/utils/crypto.js +++ b/src/renderer/utils/music/wy/utils/crypto.js @@ -34,7 +34,7 @@ export const weapi = object => { export const linuxapi = object => { const text = JSON.stringify(object) return { - eparams: aesEncrypt(Buffer.from(text), 'ecb', linuxapiKey, '').toString('hex').toUpperCase(), + eparams: aesEncrypt(Buffer.from(text), 'aes-128-ecb', linuxapiKey, '').toString('hex').toUpperCase(), } }