This commit is contained in:
xiaojunnuo
2024-11-01 00:59:09 +08:00
parent b817cb4a1b
commit 0165ccbaac
17 changed files with 131 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
import crypto from "crypto";
import crypto from 'crypto';
function md5(data: string) {
return crypto.createHash("md5").update(data).digest("hex");
return crypto.createHash('md5').update(data).digest('hex');
}
export const hashUtils = {