2 ms·
A length-extension attack works by taking the output of a hash and using it as the starting point for a new hash; you can do this even for hashes of messages yo
by tptacek 7y ago
A length-extension attack works by taking the output of a hash and using it as the starting point for a new hash; you can do this even for hashes of messages you haven't seen, minting new related hashes. Truncated SHA-2 hashes don't output the whole hash, and so you aren't given enough information to start a new related hash.