[Unison-hackers] hash size in Unison archives?

Alan Schmitt alan.schmitt at polytechnique.org
Thu Nov 27 09:35:31 EST 2008


On 26 nov. 08, at 16:37, Alan Schmitt wrote:

> Hello,
>
> I'm going to be presenting Unison to a local group of Mac users in  
> December, and I wanted to give a bit of technical information about  
> how it works "under the hood". There is one piece of information  
> that I'm missing right now, it's the size of the hash used in the  
> archive to identify each file content (I want to argue that the  
> probability of collision is very low).
>
> I could look at the code, but I'm sure one of you know by heart what  
> it is ;-)

So I went to look at the code, and the answer is simply the same as  
the Digest module from the standard library: it's a 128 bits MD5 hash.

Alan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20081127/bf2a6e46/PGP.sig


More information about the Unison-hackers mailing list