<?php
$A = 'ABCD';
$B = 'ABCD';
$md5A = md5($A); //cb08ca4a7bb5f9683c19133a84872ca7
$md5B = md5($B); //cb08ca4a7bb5f9683c19133a84872ca7
echo "Using the password_verify() funtionn";
if (password_verify($md5A, $md5B)) {
echo "True";
} else {
echo "False";
}
echo "nUsing the Using the == copmparisonn";
if ($md5A == $md5B) {
echo "True";
} else {
echo "False";
}
?>
password_verify() returning False, however the == comparison return true. What could be the issue for this problem.