Apart form common md5() and sha1(), there are other ones exist, try this:
print_r(hash_algos());
it will output all the hashes supported by PHP. Then you can use the value in that array with the hash function.
For example:
hash("haval128,3", 'Mgccl is the best'); //returns haval128,3 hashed string, which is 3324137218b4d7686e99454d7ea66651
Here is a small function I wrote to get a string hashed by all hash method in PHP
function all_hash($string){ $hash = hash_algos(); foreach($hash as $var){ $result[$var] = hash($var, $string); } return $result; } print_r(all_hash('Mgccl'));
Recent comments
11 hours 39 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 9 hours ago
1 day 15 hours ago
2 days 14 hours ago
3 days 1 hour ago
1 week 10 hours ago
1 week 4 days ago
1 week 5 days ago