From 97845f4946bf61a3e9ed9b1a6690e71652c1539e Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 12 Jul 2024 11:50:27 +0200 Subject: [PATCH] changed the hashing algorithm from sha1 to sha256 due to security problems --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d41b2378..9a94ca9f 100644 --- a/index.js +++ b/index.js @@ -614,7 +614,7 @@ function hash(sess) { // hash return crypto - .createHash('sha1') + .createHash('sha256') .update(str, 'utf8') .digest('hex') }