aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/api/utils/Util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/utils/Util.js b/src/api/utils/Util.js
index 7ee32b6..b8d960d 100644
--- a/src/api/utils/Util.js
+++ b/src/api/utils/Util.js
@@ -142,7 +142,7 @@ class Util {
}
static generateFileHash(data) {
- const hash = crypto.createHash('sha1').update(data).digest('hex');
+ const hash = crypto.createHash('md5').update(data).digest('hex');
return hash;
}