Updating the Git protocol for SHA-256
Updating the Git protocol for SHA-256
Posted Jun 20, 2020 13:03 UTC (Sat) by cesarb (subscriber, #6266)Parent article: Updating the Git protocol for SHA-256
> Carlson notes this works, but could be a problem if at some point in the future SHA-256 is replaced with a different algorithm that also produces 256-bit outputs. To this however, carlson says that he believes any hashing algorithm that someday might supersede SHA-256 will be longer than 256-bit
The tendency seems to be towards newer hashing algorithms being 256-bit. From the SHA-2 family, we have SHA-512/256 which is basically SHA-512 truncated to 256 bits; from the BLAKE family, the latest member BLAKE3 has 256-bit output (though it has an extensible mode with unlimited output length).