update add update

This commit is contained in:
2025-11-28 02:49:52 +08:00
parent 01c253e553
commit b2fcc84321
10 changed files with 162 additions and 81 deletions

View File

@@ -10,3 +10,7 @@ export const getHash = (file: string) => {
export const getBufferHash = (buffer: Buffer) => {
return MD5(buffer.toString()).toString();
};
export const getStringHash = (str: string) => {
return MD5(str).toString();
}