05.08.2016, 13:47
Quote:
The implementation of Whirlpool in the plugin outputs the result in uppercase and as such it is probably already stored in uppercase in the database. The PHP implementation of Whirlpool outputs the result in lowercase so that result needs to be made uppercase to be matched against what is already stored.
tl;dr: only the PHP output needs to be made uppercase. |
To join the server you have to make an account on an UCP. That uses PHP and stores the password in lowercase, and it has to be in uppercase for them to join the server.
So this should do the job then?
Код:
$password = strtoupper(hash('whirlpool', $_POST['password']));