Hacker News new | ask | show | jobs
by SpicyLemonZest 2359 days ago
Does that... work? I guess so, but why does it work?
1 comments

Once the two sha1 states are synchronized, after the first 320 bytes, they will remain in sync as long as you extend them with the same data. (BTW This is why hmac exists, to prevent extension attacks.)