如何解密md5加密密码

编程入门 行业动态 更新时间:2024-10-27 00:32:21
本文介绍了如何解密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加密密码

本文发布于:2023-10-24 23:58:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1525362.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:密码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!