in reply to Maximum length of hash key ?
if your application calls for seriously long(*) hash keys, I suggest that you consider combining the MD5 of the real key, with its length, and use that as a substitute for the actual key.
This combination is pretty much (but not quite) guaranteed to be as unique as the long keys, but it will require less memory.
(*say anything much over 25 bytes).
|
|---|