update add update
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user