Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1918

Joomla! 4.x Coding • Re: PHP script coding question

$
0
0
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



Viewing all articles
Browse latest Browse all 1918

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>