<?php
// Script para generar hash de password para admin

$password = 'admin123';
$hashedPassword = password_hash($password, PASSWORD_BCRYPT);

echo "Password original: " . $password . "\n";
echo "Password hasheada: " . $hashedPassword . "\n";
echo "\n";
echo "Query para actualizar en la BD:\n";
echo "UPDATE usuarios SET password = '$hashedPassword' WHERE usuario = 'admin';\n";
?>