I have password stored in database and its showing on browser as md5 because its saved there as md5
below is the code am using
$result=$link->query("select * from adminpanel");
echo "
User NamePassword";// loop through results of database query, displaying them in the table
while($row =mysqli_fetch_array($result,MYSQLI_ASSOC)) {
// foreach( $result as $row ) {
// echo out the contents of each row into a table
echo "
";echo '
' . $row['username'] . '';echo '
' . $row['password'] . '';It is showing me user name and password in a table against each user but password I want to show in ENGLISH. Decrypted value
Possible?
Please guide
Thanks
解决方案
Hashing is a one-way operation, meaning it cannot be decrypted.
Simply you can not decrypt the MD5 encrypted value. If in your case you need it then you can use any other two-way operation for password.