Hash passwords are different
#1

Hello guys, I'm using Whirlpool plugin for hashing my password. When I create the password in the server I can't use it in my site (They are connected by MySQL database). In PHP I'm using this code for hashing:
PHP код:
$MyPassword hash("whirlpool"$_POST['Password'], FALSE); 
and in the server:
PHP код:
new ThePassword[129];
WP_Hash(ThePasswordsizeof(ThePassword), inputtext); 
Reply
#2

Any help?
Reply
#3

You can only BUMP your post after 24 hours. Please be patient as something called timezones interfere with frequent helping.

I don't know if this will fix your problem, But try putting the whirlpool in single quotes.
PHP код:
$MyPassword hash('whirlpool'$_POST['Password'], FALSE); 
Reply
#4

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
You can only BUMP your post after 24 hours. Please be patient as something called timezones interfere with frequent helping.

I don't know if this will fix your problem, But try putting the whirlpool in single quotes.
PHP код:
$MyPassword hash('whirlpool'$_POST['Password'], FALSE); 
The quotes doesn't matter!
Reply
#5

Код:
	$MyPassword = strtoupper(hash("whirlpool", $_POST['Password']));
Should fix it.
Reply
#6

and salt
Reply
#7

Quote:
Originally Posted by Chyakka
Посмотреть сообщение
Код:
	$MyPassword = strtoupper(hash("whirlpool", $_POST['Password']));
Should fix it.
Thank you bro <3
+1 BIGGG REP!!!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)