perf: 优化跳过处理逻辑

This commit is contained in:
xiaojunnuo
2024-09-06 10:19:03 +08:00
parent 3bad0b2685
commit b80210f24b
6 changed files with 67 additions and 41 deletions
@@ -0,0 +1,9 @@
import crypto from "crypto";
function md5(data: string) {
return crypto.createHash("md5").update(data).digest("hex");
}
export const hashUtils = {
md5,
};