When I save a password element in my database, I save it with
sha1 (...) and this is saved, for example, if I put hello , in the following way: fc1815288c56c87a05ef3cfd10738015bc5c1129
<?php
$conexion=mysqli_connect('localhost','root','','pruebas');
$nombre=$_POST['nombre'];
$apellido=$_POST['apellido'];
$usuario=$_POST['usuario'];
$password=sha1($_POST['password']);
$sql="INSERT into usuarios (nombre,apellido,usuario,password)
values ('$nombre','$apellido','$usuario','$password')";
echo mysqli_query($conexion,$sql);
?>
My question is, how can I from a web page, recover this deciphered value, that is, hello ?
Thanks