TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Bcrypt vs Werkzeug

3 pointsby dillonover 14 years ago
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

voradorover 14 years ago
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 未加载