cryptography
Why Secret-Prefix Hashes Fail: The Merkle-Damgard Root Cause
Hashing a secret in front of a message looks safe. The block structure of SHA-256 lets an attacker append data and keep the tag valid.
4 min readNew
Wednesday, November 18, 2026
Hashing a secret in front of a message looks safe. The block structure of SHA-256 lets an attacker append data and keep the tag valid.
4 min readNew