From: Hans Petter Selasky Date: Fri, 13 Jan 2023 16:45:45 GMT Subject: Re: Gitorious should use CRC128 / 256 / 512 instead of SHA-1 Message-ID: In-Reply-To: <20230113164131.swif4buln2py7tyl@meerkat.local> On 1/13/23 17:41, Konstantin Ryabitsev wrote: > It doesn't matter how it works behind the scenes as long as the produced hash > is not unique (and CRC gives you no assurance of being unique). Git is built > on the concept that every object has a unique hash. If this is no longer true, > then it's literally no longer git, but is something else. That's why I say you need a fixup field, in case of collisions. CRC is used plenty all over the place and has good entropy. --HPS