SHA-256 Reduced margin 1 place See details
Hash function in use
`hashlib.sha256()` and friends. The digest is read from the call, so SHA-384 and above are inventory while the broken ones are reported separately.
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.
-
drakrun/analyzer/analysis_metadata.py:19
sample_sha256 = hashlib.sha256()