Do not use hardcoded values. Always use constants. You are indeed passing wrong arguments. There is no salt argument. And supported algorithms depend on PHP installation. Argon2i/Argon2id may be unsupported. If you want to use Argon, you need to make sure it's available on target PHP installation. Otherwise, use default:
Code:
$hash = UserHelper::hashPassword($password);
Statistics: Posted by SharkyKZ — Wed Jul 24, 2024 5:27 am