From 7a6819e92ae88d96f45cb18402f5457e10cb93ba Mon Sep 17 00:00:00 2001 From: milimoe <110188673+milimoe@users.noreply.github.com> Date: Mon, 8 May 2023 22:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E4=B8=8D=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D=E5=A4=A7=E5=B0=8F=E5=86=99=20(#21)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Api/Utility/General.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Api/Utility/General.cs b/Api/Utility/General.cs index 4f54573..8f44926 100644 --- a/Api/Utility/General.cs +++ b/Api/Utility/General.cs @@ -238,7 +238,7 @@ namespace Milimoe.FunGame.Core.Api.Utility /// public static string Encrypt(this string msg, string key) { - return Encryption.HmacSha512(msg, Encryption.HmacSha512(msg, key)); + return Encryption.HmacSha512(msg, Encryption.HmacSha512(msg, key.ToLower())); } }