16.02.2016, 18:48
Hi there
How to switch from SHA512 hash to whirlpool from code below
Problem is that i got this source from another thing and now i wanna switch it for samp but hash is in SHA512. Should i just remove SHA512 and write whirlpool instead?
How to switch from SHA512 hash to whirlpool from code below
Код:
$SQLAddUser -> execute(array(':username' => $_POST['username'], ':password' => hash('SHA512', $_POST['password']), ':mbt' => intval($_POST['mbt']), ':expire' => strtotime("{$_POST['day']} {$_POST['month']} {$_POST['year']}")));