[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [subversion-dev] Subversion design document up

From: Daniel L. Rall <dlr_at_collab.net>
Date: 2000-06-07 20:25:07 CEST

> > I'm glad to hear you agree with me that strong checksums are necessary.
> I'd
> > settle for CRC or adler32, but SHA sure would be nice.
>
> I'm not using checksums. I'm using cryptographic hashes. The difference is
> significant. CRCs and adler32's provide a good means of integrity checking,
> but they collide too frequently to serve as *names*. In the DCMS repository,
> the "repository name" of an object *is* its SHA-1 hash. One effect of this
> is to greatly simplify transaction and replication handling.

I like the idea of the SHA-1 hashes for a binary repository very much.
I'm
not sure that it applies as neatly to a "human readable" repository,
where
easily identifiable file names/objects would make debugging a hell of a
lot
easier.

-- 
Daniel Rall <dlr@collab.net>
http://collab.net/ | open source | do the right thing
Received on Sat Oct 21 14:36:05 2006

This is an archived mail posted to the Subversion Dev mailing list.