Skip to content

Commit

Permalink
Fixing outdated hash algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Reptarsrage committed Oct 20, 2021
1 parent 7fdf6f4 commit f2748be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const write = async function (filename, compress, result) {
* @return {String}
*/
const filename = function (source, identifier, options) {
const hash = crypto.createHash("md4");
const hash = crypto.createHash("md5");

const contents = JSON.stringify({ source, options, identifier });

Expand Down

0 comments on commit f2748be

Please sign in to comment.