/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// for mysql password function mysql_password($password) { $nr = 1345345333; $add = 7; $nr2 = 0x12345671; { if ($password[$i] == ' ' || $password[$i] == '\t') continue; $nr ^= (($nr & 63)+$add)*$tmp + ($nr << 8); $nr2 += ($nr2 << 8) ^ $nr; $add += $tmp; } $h1 = $nr & (1<<31) - 1; $h2 = $nr2 & (1<<31) - 1; }
URL: http://www.php-forum.com/phpforum/viewtopic.php?f=2&t=169
Comments
