Whirlpool hashing in pawn compared to PHP
#1

I have an user control panel where you register your character. However, there's a small difference between the two hashing methods in the two languages, or well it seems like there is. Because when I use PAWN to hash with Whirlpool, everything is capitalized. But in PHP, it is not. So when I try to compare them two in order for the user to login, it's not "the right password" because one of the hashed password is capatilized, and the other one is not.

PAWN: THISISANEXAMPLE
PHP: thisisanexample

So how am I supposed to confirm that the password is right.. when they're hashed in a different way? Right now I am using strcmp to compare the two passwords.. not working so I have to manually capitalize the hashed password in order for it to work.
Reply


Messages In This Thread
Whirlpool hashing in pawn compared to PHP - by TheBigFive - 05.08.2016, 11:30
Re: Whirlpool hashing in pawn compared to PHP - by Vince - 05.08.2016, 11:51
Re: Whirlpool hashing in pawn compared to PHP - by TheBigFive - 05.08.2016, 11:57
Re: Whirlpool hashing in pawn compared to PHP - by Vince - 05.08.2016, 13:26
Re: Whirlpool hashing in pawn compared to PHP - by TheBigFive - 05.08.2016, 13:28
Re: Whirlpool hashing in pawn compared to PHP - by Vince - 05.08.2016, 13:39
Re: Whirlpool hashing in pawn compared to PHP - by TheBigFive - 05.08.2016, 13:47
Re: Whirlpool hashing in pawn compared to PHP - by SickAttack - 05.08.2016, 14:19

Forum Jump:


Users browsing this thread: 2 Guest(s)