http://www.perlmonks.org?node_id=384307


in reply to MD5-based Unique Session ID Generator

I'm definitely not an expert on cryptos and related issues, but the loop looks suspicious in my eyes.

Do you realize that you push anything between zero and 2 Mbytes through the MD5 routine, no wonder that it, sometimes i guess, takes time to generate a key.