为我的系统选择加密算法的标准是什么
我正在开发一个将在实际环境中应用的系统。我需要为系统制定高安全机制,其中之一就是对我的数据库中的用户密码进行加密。
我更喜欢使用单向加密方法而不是双向加密,问题是我想选择一种具有良好性能的好算法,并且有合理的理由说服我的合作伙伴为什么我选择一种算法而不是其他算法。
你能给我一些这样做的建议吗?
I am working on a system which is going to be applied in the real environment. I need to make high security mechanism for the system, one of them is encryption for user's passwords in my database.
I prefer to use one way encryption method to two way encryption, the problem is I want to choose a good algorithm which has good performance and have reasonable reasons to convince my partners why i choose one algorithm instead of other.
Can you give me some tips for doing that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不要只使用简单的单向哈希。
使用类似 PBKDF2 或 bcrypt 代替。我确信 Java 将会有良好的、免费的、现成的实现(假设它们还没有包含在 JRE 本身中)。
Don't just use a simple one-way hash.
Use something like PBKDF2 or bcrypt instead. I'm sure there will be good, free, off-the-shelf implementations available for Java (assuming that they're not already included in the JRE itself).
我不知道你在寻找什么样的论点,但是:
SHA 是一种很好的单向哈希函数。
http://en.wikipedia.org/wiki/Secure_Hash_Algorithm
编辑:
i don't know what kind of argument you're looking for but :
SHA is a good one-way hash functions.
http://en.wikipedia.org/wiki/Secure_Hash_Algorithm
Edit :