12.02.2013, 17:43
http://php.net/manual/en/book.hash.php
http://www.php.net/manual/en/function.hash-algos.php <= hashing algorithms
Use:
Anyway, if u want to compare this hash with samp hash you should use strtoupper (http://php.net/manual/en/function.strtoupper.php).
http://www.php.net/manual/en/function.hash-algos.php <= hashing algorithms
Use:
PHP код:
hash("whirlpool", "what");
PHP код:
$what = strtoupper(hash("whirlpool", "what"));
if ($what == $samp)
{
// correct
}