SHA-256 Reduced margin 1 place 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.
A quantum computer weakens this but does not break it. Increasing the key or digest size restores the margin. Pre-image resistance falls to about 128 bits of quantum work. Adequate for most uses; SHA-384 restores the full margin where a signature must last decades.
What to do. SHA-256 as the floor, SHA-384 where the digest protects something long-lived.
-
test/web/open-example-preview.spec.ts:31
test path
return createHash("sha256").update(value ?? "").digest("hex");