php code:function UserId($email) { for($x=0, $i=0; $i < strlen($email); $i++){ $y = ord(substr($email, $i, 1)); $x *= 101; $x += $y; $x %= 4294967296; } return $x; }