9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] compare-by-hash
@ 2003-07-31 17:24 Joel Salomon
  2003-07-31 17:50 ` andrey mirtchovski
                   ` (5 more replies)
  0 siblings, 6 replies; 44+ messages in thread
From: Joel Salomon @ 2003-07-31 17:24 UTC (permalink / raw)
  To: 9fans

This is a bit late, but...
A 160-bit hash (assuming "strong" hashing) has a 50% probabilty of
collisions after 2^80 entries. Google "birthday paradox" for the math.

--Joel



^ permalink raw reply	[flat|nested] 44+ messages in thread
* Re: [9fans] compare-by-hash
@ 2003-08-03  4:39 Andrew Simmons
  0 siblings, 0 replies; 44+ messages in thread
From: Andrew Simmons @ 2003-08-03  4:39 UTC (permalink / raw)
  To: 9fans

> 2^80 is fairly high... after how many entries does the probability
> reach, say, 0.1%?

To a reasonable approximation, the number of entries at which the
probability is reached is 2^80 times the square root of twice the
probability, which in the case of 0.1% is between 2^75 and 2^76.



^ permalink raw reply	[flat|nested] 44+ messages in thread
* RE: [9fans] compare-by-hash
@ 2003-05-31 23:58 philw
  2003-06-01  0:00 ` Russ Cox
  0 siblings, 1 reply; 44+ messages in thread
From: philw @ 2003-05-31 23:58 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

and then what?

	-----Original Message----- 
	From: Russ Cox [mailto:rsc@plan9.bell-labs.com] 
	Sent: Sat 5/31/2003 4:54 PM 
	To: 9fans@cse.psu.edu 
	Cc: 
	Subject: Re: [9fans] compare-by-hash
	
	

	The paper seems correct on most things, but is unfair to Venti.
	
	Venti is closer to hashing than compare-by-hash.
	Venti does look for SHA1 hash collisions -- once a block with a
	particular SHA1 hash has been written, you can't write any
	others.  Therefore you can't possibly end up thinking there are
	two different blocks stored on the same server and represented
	by the same SHA1 hash -- the store of the second will fail!
	
	Russ
	


[-- Attachment #2.1: Type: text/plain, Size: 268 bytes --]

The following attachment had content that we can't
prove to be harmless.  To avoid possible automatic
execution, we changed the content headers.
The original header was:

	Content-Type: application/ms-tnef;
	name="winmail.dat"
	Content-Transfer-Encoding: base64

[-- Attachment #2.2: winmail.dat.suspect --]
[-- Type: application/octet-stream, Size: 3710 bytes --]

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [9fans] compare-by-hash
@ 2003-05-31 23:48 Taj Khattra
  2003-05-31 23:48 ` Charles Forsyth
                   ` (2 more replies)
  0 siblings, 3 replies; 44+ messages in thread
From: Taj Khattra @ 2003-05-31 23:48 UTC (permalink / raw)
  To: 9fans

do the venti/fossil folks have any comments on the
'An Analysis of Compare-by-hash' paper at HotOS-IX

	http://www.usenix.org/events/hotos03/tech/henson.html

or is it crying wolf ?

-taj


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2003-08-03  4:39 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-31 17:24 [9fans] compare-by-hash Joel Salomon
2003-07-31 17:50 ` andrey mirtchovski
2003-07-31 17:51 ` Sape Mullender
2003-07-31 17:53 ` rog
2003-07-31 18:03 ` jmk
2003-08-01  2:45 ` Joel Salomon
2003-08-01  2:52   ` Geoff Collyer
2003-08-01  3:42     ` jmk
2003-08-01  4:12       ` Geoff Collyer
2003-08-01 15:23       ` Jack Johnson
2003-08-01  9:03     ` Anthony Mandic
2003-08-01 15:11     ` Jack Johnson
2003-08-01  9:02 ` Douglas A. Gwyn
  -- strict thread matches above, loose matches on Subject: below --
2003-08-03  4:39 Andrew Simmons
2003-05-31 23:58 philw
2003-06-01  0:00 ` Russ Cox
2003-06-01  1:15   ` northern snowfall
2003-06-01  0:23     ` Russ Cox
2003-06-01  1:23       ` northern snowfall
2003-06-01  0:24     ` Dan Cross
2003-05-31 23:49       ` Skip Tavakkolian
2003-06-01  5:52         ` Dan Cross
2003-06-01  8:57           ` Charles Forsyth
2003-06-01  9:06             ` lucio
2003-06-01  9:25               ` lucio
2003-06-01 15:36                 ` David Presotto
2003-06-01 16:24                   ` David Presotto
2003-06-02  4:14                     ` lucio
2003-06-02  4:03                   ` lucio
2003-06-01 22:55             ` Geoff Collyer
2003-06-01  0:28     ` William Josephson
2003-06-01  1:46       ` northern snowfall
2003-06-01  1:38         ` William K. Josephson
2003-06-01  1:57           ` Scott Schwartz
2003-06-01  2:58           ` northern snowfall
2003-06-01  2:57             ` W. Josephson
2003-06-01  4:07               ` northern snowfall
2003-06-01 15:11                 ` boyd, rounin
2003-06-02 11:37     ` Sam
2003-06-02 12:41       ` boyd, rounin
2003-05-31 23:48 Taj Khattra
2003-05-31 23:48 ` Charles Forsyth
2003-05-31 23:50 ` Charles Forsyth
2003-05-31 23:54 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).