This commit is contained in:
aozhiwei 2023-07-13 16:43:10 +08:00
parent 90bc1d4fe9
commit c6aca25455

View File

@ -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) {