Shallot icon indicating copy to clipboard operation
Shallot copied to clipboard

Optimize Hashing

Open katmagic opened this issue 15 years ago • 1 comments

Instead of using SHA1_Final(), use a custom function that produces only the first half of the hash in order to improve efficiency.

katmagic avatar Aug 17 '10 10:08 katmagic

rransom says: word-slicing the algorithm using SSE2, or perhaps even bit-slicing it, would be a much bigger win than just not computing half of the output bits.

katmagic avatar Nov 06 '10 19:11 katmagic