Best hash in SA-MP
#1

Need sa-mp hash to use for passwords which can be used also for server website. Not intrested in md5 or sha. Thank's.
Reply
#2

Whirlpool hash plugin
Reply
#3

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
Is it possible to use this with PHP ?
Reply
#4

http://php.net/manual/en/book.hash.php

http://www.php.net/manual/en/function.hash-algos.php <= hashing algorithms

Use:
PHP код:
hash("whirlpool""what"); 
Anyway, if u want to compare this hash with samp hash you should use strtoupper (http://php.net/manual/en/function.strtoupper.php).
PHP код:
$what strtoupper(hash("whirlpool""what"));

if (
$what == $samp)
{
// correct

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)