Key Size

Brian Moon brianm at dealnews.com
Mon Jan 8 04:17:47 UTC 2007


Boberg, Stefan wrote:
>   You’re wasting your time. Use a MD4 or MD5 hash and base64-encode the 
> result and use as the key. The computational cost for calculating the 
> hash will be lower than the time taken transmitting your key.

I agree.  In PHP, 1000 md5() calls takes .008 seconds.

-- 

Brian Moon
-------------
http://dealnews.com/
It's good to be cheap =)


More information about the memcached mailing list