How to enable argon2 support in PHP?

41 Views Asked by At

I'm creating a simple sign in/log in web app and I'm using Argon2id to hash the password when i run it it gives Fatal error: Uncaught Error: Undefined constant "PASSWORD_ARGON2ID" in /opt/lampp/htdocs/.

I'm using Xampp and it has a PHP 8.2.0 version, based on my research I have to locate the PHP source code and configure PHP with Argon support but I can't find the PHP's source code there. Is it possible to enable the Argon2 support with Xampp's PHP? Xampp php directory bit it doesn't contain PHP source code

0

There are 0 best solutions below