sql server 2008 -如何使用php解密加密的密码


sql server 2008 - How to decrypt the encrypted password using php?

下面是我的加密代码,所以请告诉如何使用php解密字符串。

<?php
$input = 'password';
$password_hash = md5($input);
echo "$password_hash";
?>

md5是一种散列技术。您无法将其解密回来。哈希意味着,一旦你把它转换成加密代码,你就不能回去了!但是您仍然可以比较md5加密值与另一个md5加密值来检查匹配(主要是在密码验证和所有的情况下!)

复制自Is md5 decrypable ?