Re: more git updates..

From: Kai Henningsen
Date: Wed Apr 20 2005 - 16:09:38 EST


hpa@xxxxxxxxx (H. Peter Anvin) wrote on 11.04.05 in <d3dvps$347$1@xxxxxxxxxxxxxxxxxx>:

> Followup to: <20050410065307.GC13853@xxxxxxxxxxxxxx>
> By author: Christopher Li <lkml@xxxxxxxxxxx>
> In newsgroup: linux.dev.kernel
> >
> > There is one problem though. How about the SHA1 hash collision?
> > Even the chance is very remote, you don't want to lose some data do due
> > to "software" error. I think it is OK that no handle that
> > case right now. On the other hand, it will be nice to detect that
> > and give out a big error message if it really happens.
> >
>
> If you're actually worried about it, it'd be better to just use a
> different hash, like one of the SHA-2's (probably a better choice
> anyway), instead of SHA-1.

How could that help? *Every* hash has hash collisions. It's an unavoidable
result of using less bits than the original data has.

MfG Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/