TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Bcrypt vs Werkzeug

3 点作者 dillon超过 14 年前
Bcrypt is a python module that encrypts passwords. http://www.mindrot.org/projects/py-bcrypt/<p>Werkzueg is a WSGI Utility Library that comes with encrypting. http://werkzeug.pocoo.org/docs/utils/#module-werkzeug.security<p>I was wondering if anyone knows which one is better/safer/more consistent?

1 comment

vorador超过 14 年前
The werkzeug implementation uses sha1 or md5 (which is bad, see <a href="http://chargen.matasano.com/chargen/2007/9/7/enough-with-the-rainbow-tables-what-you-need-to-know-about-s.html" rel="nofollow">http://chargen.matasano.com/chargen/2007/9/7/enough-with-the...</a> for a good explanation). Stick to bcrypt.
评论 #2193110 未加载