Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php // Plaintext password entered by the user $plaintext_password = "Passwor..
Decoded Output download
<?php
// Plaintext password entered by the user
$plaintext_password = "Password@123";
// The hashed password retrieved from database
$hash =
"$2y$10$8sA2N5Sx/1zMQv2yrTDAaOFlbGWECrrgB68axL.hBb78NhQdyAqWm";
// Verify the hash against the password entered
$verify = password_verify($plaintext_password, $hash);
// Print the result depending if they match
if ($verify) {
echo 'Password Verified!';
} else {
echo 'Incorrect Password!';
}
?>
Did this file decode correctly?
Original Code
<?php
// Plaintext password entered by the user
$plaintext_password = "Password@123";
// The hashed password retrieved from database
$hash =
"$2y$10$8sA2N5Sx/1zMQv2yrTDAaOFlbGWECrrgB68axL.hBb78NhQdyAqWm";
// Verify the hash against the password entered
$verify = password_verify($plaintext_password, $hash);
// Print the result depending if they match
if ($verify) {
echo 'Password Verified!';
} else {
echo 'Incorrect Password!';
}
?>
Function Calls
password_verify | 1 |
Stats
MD5 | 4fce6f3d10f6bb9627b294f8a2a9e4ca |
Eval Count | 0 |
Decode Time | 59 ms |