<?php
declare(strict_types=1);

/**
 * Password hash test file
 * DELETE after testing
 */

$plainPassword = 'Admin@123';

/**
 * Generate hash (run once to see hash)
 */
$hash = password_hash($plainPassword, PASSWORD_DEFAULT);

echo "Generated Hash:<br>";
echo $hash;
echo "<hr>";

/**
 * Verify password against hash
 */
if (password_verify($plainPassword, $hash)) {
    echo "✅ Password verification SUCCESS";
} else {
    echo "❌ Password verification FAILED";
}
