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

SHA1(salt || password) does have a length-extension property; you can easily compute SHA1(salt || password || junk || arbitrary-data) for any given hash. That's not very useful for password hashes, but is devastating for the kinds of SHA1-based authentication schemes that people who write their own password hashes seem to come up with.


Yeah, by "doesn't apply" I meant "that's not very useful for password hashes".




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

Search: