密码解密 [英] password decryption

查看:90
本文介绍了密码解密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有

我们可以访问mysql数据库,其中密码以密码字段加密。我想读实际密码。我怎么能这样做。


i需要知道我的问题是否不清楚

hi to all
we have a access to a mysql database in which password is in encrypted form in password field. i want to read actual password. how can i do that.

i need to know if i am not clear in my question

推荐答案

你有什么功能?用来加密密码?您永远不需要看到未加密的密码。假设您使用md5()对其进行加密,以查看提供的密码是否与之匹配,md5()将新密码与数据库中的密码进行对比。
What function do you use to encrypt the password? You should never need to see an unencrypted password. Say you use md5() to encrypt it, to see whether a provide password matches it, md5() the new password against the password in the database.


如果是因为用户有忘记了密码,然后您需要通过用户名和电子邮件地址对其进行身份验证,然后将新的随机生成的密码发送到存储的电子邮件地址。然后,他们可以使用它来登录并更改其密码。这就是大多数网站的工作方式。


正如Markus所说,只有密码所有者 - 网站用户,应该知道密码。


nathj
If it is because a user has forgotten their password then you need to authenticate them by username and email address and then send a new randomly generated password to the stored email address. They can then use that to log in and change their password. This is how most sites work.

As Markus said only the password owner - site user, should know the password.

nathj


实际上我们将数据从mysql传输到sql server。所以有许多帐户持有人已经存在他们的用户名和密码。我想在sql server中输入相同的密码。这就是我需要解密密码的原因


我正在使用md5()进行加密。所以请在php中解密md5()加密密码。
actually we are transfer our data from mysql to sql server. so there is many account holder already exist with their user name and password. i want to enter same password in sql server. that''s why i need to decrypt that passwords

i am using md5() for encryption. so please any idea to decrypt md5() encrypted passwords in php.


这篇关于密码解密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆