Simple hash function for php (none md[4 or 5])

function SimpleHash($s){
$i = 0;$l=strlen($s)
for ($j=0; $j < $l; $j++) $i += ord($s[$j]);
return 'a'.base_convert(($i+$l),10,16).'c';
}

Comments

Popular posts from this blog

Using Debian on linksys NAS-200

Малко за мъката по светът.