本文介绍了Salting Hashes - 为什么文献将盐视为夏娃已知的盐?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题说明了一切.我不明白:为什么你不应该像密码一样保密你的盐.还是我误会了什么?

The title says everything. I don't understand: why you shouldn't keep your salt a secret like the password. Or did I misunderstand something?

推荐答案

我在中发现的原因这篇文章是,您实际上需要使用 salt 来检查传入密码,并使用数据库中的加盐和散列密码.

The reason as I found in this article is, that you actually need the salt to check an incoming password with the salted and hashed one in your database.

这篇关于Salting Hashes - 为什么文献将盐视为夏娃已知的盐?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 03:39
查看更多