为我的系统选择加密算法的标准是什么

发布于 2024-09-28 01:46:31 字数 170 浏览 6 评论 0原文

我正在开发一个将在实际环境中应用的系统。我需要为系统制定高安全机制,其中之一就是对我的数据库中的用户密码进行加密。

我更喜欢使用单向加密方法而不是双向加密,问题是我想选择一种具有良好性能的好算法,并且有合理的理由说服我的合作伙伴为什么我选择一种算法而不是其他算法。

你能给我一些这样做的建议吗?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

习惯成性 2024-10-05 01:46:31

不要只使用简单的单向哈希。

使用类似 PBKDF2bcrypt 代替。我确信 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).

匿名的好友 2024-10-05 01:46:31

我不知道你在寻找什么样的论点,但是:

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 :

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文