如何解密md5加密密码 [英] how to decrypt the md5 encrypted password

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

问题描述

即时通讯使用md5加密密码。然后,如果我需要它,如何取回原始字符串。有什么解密可以吗?

plz在这方面帮助我。

提前谢谢

im using md5 to encrypt the password. then, how to get back the original string if i need it. is there any decryption possible?
plz help me in this regard.
thanks in advance

推荐答案

单向加密背后的整体思想是生成一个无法解密以显示原始字符串的散列值。


这就是处理丢失密码的原因,管理员通常会将其重置为新值。
The whole idea behind a one way encryption is to generate a hashed value that cannot be decrypted to reveal the original string.

That''s the reason that when dealing with lost passwords administrators typically reset it to a new value.


@savyatha

你可以发给我代码如何加密密码
@savyatha
could u plz send me code how to encrypt password



我用md5来加密密码。然后,如果我需要它,如何取回原始字符串。有没有解密?

plz在这方面帮助我。

提前谢谢
im using md5 to encrypt the password. then, how to get back the original string if i need it. is there any decryption possible?
plz help me in this regard.
thanks in advance



md5是应该是单向加密。您使用它的原因是只有用户知道他们的密码,但您仍然可以验证密码。

如何验证它是创建用户提供的密码的md5哈希值,并将其与数据库中密码的md5哈希值进行比较。


例如:伪代码

md5 is supposed to be a one way encryption. The reason you use it, is so only the user knows their password, but you can still validate the password.
How you validate it is to create an md5 hash of the password supplied by the user, and compare that with the md5 hash of the password in the database.

eg: pseudo code

展开 | 选择 | Wrap | 行号


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

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