At 10:54 AM 11/08/01 -0800, Andrew Ho wrote:
>For example, say your keys are e-mail addresses and you just want to use
>an MD5 hash to spread your data files over directories so that no one
>directory has too many files in it. Say your original key is
>[EMAIL PROTECTED] (hex encoded MD5 hash of this is RfbmPiuRLyPGGt3oHBagt).
>Instead of just storing the key in the file
>R/Rf/Rfb/Rfbm/RfbmPiuRLyPGGt3oHBagt.dat, store the key in the file
>[EMAIL PROTECTED] Presto... collisions are impossible.

That has the nice side effect that I can run through the directory tree and
get the key for every file.  I do need a way to read every key in the
store.  Order is not important.



Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to