Comparison
bcrypt vs pbkdf2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Modern password hashing for your software and your servers
Maintained. Last release 14 months ago, commits in 20 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install bcryptPKCS#5 v2.0 PBKDF2 Module
Likely abandoned. No release or commit for years (last release over 15 years ago).
$
pip install pbkdf2In short
- pbkdf2 looks abandoned: avoid it for new projects.
- bcrypt is the most used: 174.1M downloads a month, 1027× more than pbkdf2.
- bcrypt also has the best Pythie’s Index (61).
- Safe default for a new project: bcrypt.