From c6aca25455dce4a1677adfca5b9ec3b5785f3b25 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 13 Jul 2023 16:43:10 +0800 Subject: [PATCH] 1 --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.js b/utils.js index ad08852..21b311b 100644 --- a/utils.js +++ b/utils.js @@ -207,7 +207,7 @@ function md5Str(data) { function sha1Str(data) { const hash = crypto.createHash('sha1'); - return hash.update(data).digest('hex'); + return hash.update(data).digest('hex').toLowerCase(); } function getVal(obj, key, defVal = null) {