Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29243

PHP ARGON2I password_hash function does not work

$
0
0

I have created a PHP file which includes the following code:

...
...
$password = password_hash($_GET['password'], PASSWORD_ARGON2I, ['memory_cost' => 2048, 'time_cost' => 4, 'threads' => 3]);
...
...

I have tested it on XAMPP server on my personal machine, and it works fine. When I transferred the file to my AWS EC2 server, the password_hash function does not seem to work, I'm using PHP 7.2.5 on the AWS EC2, the XAMPP as well. Additional information: my machine is Windows 10 and the EC2 is RedHat. I have been trying for a whole day to figure this out but no luck. What could be the problem? And how can I solve this?


Viewing all articles
Browse latest Browse all 29243

Trending Articles



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