Skip to content

Commit

Permalink
Address security findings
Browse files Browse the repository at this point in the history
* javascript/InsecureHash

Signed-off-by: Richard Gebhardt <[email protected]>
  • Loading branch information
gebhardtr committed Mar 14, 2024
1 parent ba0c40a commit 4d0f706
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const { createHash } = require("crypto");

module.exports = (env) => {
const hash = createHash("md5");
const hash = createHash("sha256");
hash.update(JSON.stringify(env));

return hash.digest("hex");
Expand Down

0 comments on commit 4d0f706

Please sign in to comment.