This commit is contained in:
2026-03-03 16:08:53 +08:00
parent f16feca4f4
commit 46666d1c2f
2 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class SystemAuth
public static function generateSignature(string $userId, int $timestamp, string $secret): string
{
$data = $userId . $timestamp;
return hash_hmac('sha256', $data, $secret);
return hash_hmac('md5', $data, $secret);
}
/**