Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is not simply wrong. The usual Merkle-Damgard padding only means that you get something like SHA1(foo || garbage || bar) instead, garbage being smaller than the hash's block size.


Maybe disingenuous was a better word. The "garbage" in the middle still protects against most (though not all) attacks.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: