MD5 Already broken 2 places See details
Hash function in use
`createHash()` or `subtle.digest()`. The digest is read from the argument, so one rule covers the family: MD5 and SHA-1 are reported as broken, SHA-256 as a reduced margin, SHA-384 and above as inventory.
This is already unsafe today, with no quantum computer involved. Practical chosen-prefix collisions exist; MD5 has no remaining security as a digest.
What to do. SHA-256 as the floor, SHA-384 where the digest protects something long-lived.
-
tests/custom-environment.js:11
test path
const hash = require('crypto').createHash('md5').update(fullName).digest('hex'); -
tests/custom-reporter.js:26
test path
const hash = require('crypto').createHash('md5').update(testCaseResult.fullName).digest('hex');