write-yourself-a-git icon indicating copy to clipboard operation
write-yourself-a-git copied to clipboard

SHA-1 vs SHA-256

Open jflaherty opened this issue 6 years ago • 1 comments

Have you thought of using SHA-256 since Git is pretty close to switching to SHA-256 in the near future due to collisions found in the wild?

jflaherty avatar Mar 14 '19 13:03 jflaherty

This is a good idea, especially since even git's algorithm isn't sha1 anymore, but for a toy implementation I think it's best to wait until git itself has achieved its transition to the new hash algorithm. For now, I'd rather be widely compatible than cryptographically secure.

I'm leaving the issue open until then.

Thanks!

thblt avatar Mar 16 '19 15:03 thblt