logoalt Hacker News

schacon • yesterday at 6:35 PM • 1 reply • view on HN

Actually, I think sha-256 is possibly faster than the sha1dc variant that Git currently uses.

I just sent a patch series to the list that enables sha1dc to be accelerated on modern CPU architectures to close to normal SHA1 speeds, but since it was ported from a Rust project by an agent, it will never be applied.

https://lore.kernel.org/git/20260929112544.86511-1-scott@git...


Replies

hedora • today at 3:34 AM

Last I checked SHA-256 was faster than SHA-1, and SHA-512 was even faster (though the output is annoyingly long).

➕ show 1 reply