scrypt 相对于 bcrypt 有什么优势?

发布于 2024-07-30 06:20:33 字数 1460 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

久伴你 2024-08-06 06:20:33

使用 scrypt 除了增加计算量之外,您还可以增加计算哈希所需的内存量。 这不会对软件实现造成太大影响,但用硬件实现要困难得多——这是专门的攻击者可能开发和使用的。

bcrypt(和 PBKDF2)使用恒定且少量的内存。

With scrypt in addition to increasing computation you can increase the amount of memory needed to compute the hash. This doesn't bother software implementations much but is much harder to implement with hardware - which is what a dedicated attacker is likely to develop and use.

bcrypt (and PBKDF2) use constant, and small, amounts of memory.

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