unread
Hello.
I'd like to know what's the explanation behind the math done on line #413 in
ext/session/session.c [1] and why couldn't it be just:
total_bits / hash_bits_per_character
Where total_bits equals 128 if the hash function is md5 or 160 if sha1.
[1] http://svn.php.net/viewvc/php/php-src/trunk/ext/session/session.c?view=markup
--
Common sense is not so common - Voltaire
http://tweak-it.tk/ - Personal portfolio and web-log - Barbu Paul - Gh.
Visit My GitHub profile to see my open-source projects - https://github.com/paullik