[Voiceglue] Hashing filenames
Doug Campbell
voiceglue at campbellcastle.com
Wed Jan 14 21:04:50 EST 2009
> > The issue of collisions is a valid one, though. My guess is that
> > collisions will probably never happen, but I'm still pondering a
> > multi-entry-bucket structure just in case they do.
>
> With MD5 or SHA1 you will never see accidental collisions.
With reasonable hash length that is true, but the main point
of this exercise is to reduce file name lengths. I'm thinking
about, say, a 32-character hash, which would have a very small
possibility of collision.
Doug Campbell
More information about the Voiceglue
mailing list