Comparison
bcrypt vs passlib 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
Actively maintained. Last release 1 day ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install bcryptComprehensive password hashing framework supporting over 30 schemes
Maintained. Last release 9 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install passlibPKCS#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: 173.5M downloads a month, 5.1× more than passlib.
- bcrypt also has the best Pythie’s Index (80).
- Safe default for a new project: bcrypt.