On Tue, Nov 15, 2005 at 06:42:23PM +0200, Oded Arbel wrote:
> On Tuesday, 15 בNovember 2005 18:14, Baruch Even wrote:
> > Omer Zak wrote:
> > > THE QUESTION:
> > > According to the above git README, objects in git are named by
> > > their SHA1 hashes.  So, what happens if two objects have the same
> > > SHA1 hash, unlikely as it might be?
> >
> > The world ends.
> 
> > I haven't checked for a long time now but I don't think there is any
> > safeguard for such a case.
> 
> Actually, AFAIK, there is such a safe guard - The Laws of Mathematics.
> Which clearly describe the mind boggling improbability of such a case. 

But not impossibility.

And if the results of something that though improbable but still
possible is a catastrophy, then it will eventually cause unreproducable
data corruption bugs.

And even worse, if people will manage to find methods to generate
different data blocks with  toame sha1 sum. This is not totally 
unthinkable nowadays.

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                           | a Mutt's  
[EMAIL PROTECTED] |                           |  best
ICQ# 16849755         |                           | friend

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to