如何散列密码并取回密码 [英] how to hash the password and get it back

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

问题描述

大家好,我想对密码进行哈希处理,使其完全加密,我可以对密码进行哈希处理,但现在的问题是我无法再次取回真实密码,有什么方法可以使用任何方法获取真实密码哈希,或者有没有其他方法可以将文本加密和解密成原始内容...

hey guys, i want to hash the password so it is totally encrypted, i am able to hash the password, but now the issue is i am not able to again get back the real password, is there any way i can get the real password using any of the hash, or is there any other way to encrypt and also decrypt the text into its original content...

请尽快回复..谢谢并恭祝安康abbaselectricwala.

Please reply as soon as possible.. Thanks and regards abbas electricwala.

推荐答案

散列密码的全部意义在于,您不必以明文形式保存密码.如果有人可以获得散列密码,他就无法将它们转换回密码.另外,不要忘记 salt 您的哈希值,否则您的哈希密码很容易受到彩虹表.

The whole point of hashing a password is so that you do not have to save passwords in clear text. If someone can get the hashed passwords, he can't convert them back to passwords. Also, don't forget to salt your hashing otherwise your hashed passwords are vulnerable to rainbow tables.

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

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