mvc5如何作为管理员我可以看到加密的密码 [英] mvc5 How as Admin I can see the encrypted passwords

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

问题描述

我不会创建管理员管理器页面并且看到真正的用户密码而不是

加密密码我怎么做??? ??? div class =h2_lin>解决方案

如果设计的应用程序应该是从未保存到任何数据库的任何表的密码...存储的是密码的HASH ...... HASH和ENCRYPTION之间的区别在于HASH是不可逆的......没有办法知道原始密码是什么(这就是它使用的原因)...在这种情况下没有人,除了用户可以知道密码...

遗憾的是,您使用双向加密来存储密码,您只需要知道使用的加密方法并使用它进行解密...


i wont to create admin manager page and to see the real user password not the
encrypted password how i do this???

解决方案

If the application designed as it should be the password never saved to any table of any database...What was stored is a HASH of the password...The difference between HASH and ENCRYPTION is that HASH is irreversible...There is no way to know what was the original password (and that's the reason it used)...In this case no-one, except the user can know the password...
In the very sad case, that you used two-way encryption to store password, you only have to know the encryption method used and run decryption using it...


这篇关于mvc5如何作为管理员我可以看到加密的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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