Tech News
← Home  ·  All topics

Pack Verification

1 GoKawiil brief on this topic

New sha1dc library speeds up collision-checked SHA-1 hashing for git

A developer working on the Enroute git server rewrote SHA-1 with collision detection into a new implementation called sha1dc, using a code generator and solver to fit collision checks into SIMD lanes. The new library runs at 68-81% of plain SHA-1 speed, compared with 28-29% for the existing sha1-checked crate, and roughly doubles git pack verification speed in testing.