Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261811AbVDTVIa (ORCPT ); Wed, 20 Apr 2005 17:08:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261813AbVDTVIa (ORCPT ); Wed, 20 Apr 2005 17:08:30 -0400 Received: from colo.khms.westfalen.de ([213.239.196.208]:34947 "EHLO colo.khms.westfalen.de") by vger.kernel.org with ESMTP id S261811AbVDTVIZ (ORCPT ); Wed, 20 Apr 2005 17:08:25 -0400 Date: 20 Apr 2005 22:29:00 +0200 From: kaih@khms.westfalen.de (Kai Henningsen) To: linux-kernel@vger.kernel.org Message-ID: <9VF1rZLXw-B@khms.westfalen.de> In-Reply-To: Subject: Re: more git updates.. X-Mailer: CrossPoint v3.12d.kh15 R/C435 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Organisation? Me?! Are you kidding? References: <20050410065307.GC13853@64m.dyndns.org> X-No-Junk-Mail: I do not want to get *any* junk mail. Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail. X-Fix-Your-Modem: +++ATS2=255&WO1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 26 hpa@zytor.com (H. Peter Anvin) wrote on 11.04.05 in : > Followup to: <20050410065307.GC13853@64m.dyndns.org> > By author: Christopher Li > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/