Skip to content

Common failures

Most hash failures come from using the right tool with the wrong threat model, or from trusting a digest that was never verified.

A second failure is using a fast hash for passwords. SHA-256 was designed to be fast, and speed is exactly what an attacker wants. GPU rigs compute billions of SHA-256 hashes per second; they compute millions of bcrypt hashes per second at best. A leaked table of SHA-256 password hashes is cracked in hours; a leaked table of Argon2 hashes is not.

A third failure is verifying the digest after trusting the payload. If the downloader has already executed the installer before checking the hash, the check is theatre. Verification has to happen before use, and the expected digest has to come from a trusted, authenticated source — not from the same server that served the payload.