https://bugzilla.wikimedia.org/show_bug.cgi?id=38185
--- Comment #10 from badon <[email protected]> --- Markus says in comment #4 that some PHP distributions disable hashing support by default. He mentioned FreeBSD is one of them does that, and that's what my server is using. He also suggests that we could use md5() instead of hash() to eliminate the problem, and ensure wider compatibility. I don't know why hash() is disabled by default in some PHP distributions. I've never heard of this problem for anything except SMW, but the PHP gurus seemed to be familiar with it, and I assume they agree with Markus to just use MD5 instead. I did some researching about MD4 versus MD5, and I found out that MD4 has much faster performance. Because of that, simply switching to md5() instead of hash() might not be the ideal solution. Instead, the problem could be solved by checking for hash(), and if it is unavailable, switch to using md5(). If that's what ends up being done, then it should be mentioned in the documentation somewhere that enabling hash() will result in a small performance improvement. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
