cr-marcstevens / sha1collisiondetection

Library and command line tool to detect SHA-1 collision in a file
Other
1.31k stars 185 forks source link

Feature/performance #20

Closed shumow closed 7 years ago

shumow commented 7 years ago

This pull request contains performance improvements to our base SHA1 implementation.

Mainly these improvements come from interleaving the message expansion code with the round functions of SHA1. To take advantage of this some of the detection logic needed to be rearranged as well.