in reply to Re: MD5-based Unique Session ID Generator
in thread MD5-based Unique Session ID Generator

If you don't mind using 128 bits rather than 32, Data::UUID guarantees that you won't get duplicates, ever.

Thanks! I won't be able to test this immediately, but if it works (and it seems like it will), it will be most helpful.

One point though, MD5 generates 32 hex digits representing 4 bits each - that's already 128 bits. Sorry if I was unclear about that.

  • Comment on Re^2: MD5-based Unique Session ID Generator