I am creating a panel for creating accounts via website.
The problem is that you are unable to encrypt the password to save the password in the account table.
Which command to save the encrypted password in the bank?
$pass1 = base64_encode(pack('H*', sha1(trim($password))));
$pass2 = base64_encode(hash('whirlpool', trim($password), true));
is not work.