用jBCrypt进行散列时,有什么方法可以检索纯文本密码 [英] Is there any way to retrieve the plain text password back when hashed with jBCrypt

查看:154
本文介绍了用jBCrypt进行散列时,有什么方法可以检索纯文本密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用jBCrypt对密码进行散列并将其存储在数据库中。由于它是单向算法,我们无法获得密码(原始密码字符串)。

I am using jBCrypt for hashing the password and storing it in database. As it is one way algorithm we cannot get the password (original plain password string).

当用户忘记密码时,我想我们不能提供密码,而只能要求用户设置新密码。我的意见是否正确?

When the user forgets the password I guess we cannot provide the password instead we can only ask the user to set the new password. Is my opinion Correct?

有没有什么办法在使用jBCrypt进行哈希处理时(从哈希处理过的哈希处理器中获取纯文本密码?:-) ..我不这么认为...... )

Is there any way to retrieve the plain text password back when hashed with jBCrypt (from the hashed one? :-) .. I don't think so ... )

推荐答案

不,没有。这是使用散列函数的关键。

No, there isn't. That's the whole point of using a hash function.

这篇关于用jBCrypt进行散列时,有什么方法可以检索纯文本密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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