Comparison
bcrypt vs passlib vs pbkdf2 vs scrypt
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 pbkdf2Bindings for the scrypt key derivation function library
Low maintenance activity. Last release 16 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install scryptIn 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.
Side by side
| Metric | bcrypt | passlib | pbkdf2 | scrypt |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 47 | Pythie’s Index: 19 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Maintained | Likely abandoned | Low maintenance activity |
| Downloads / month | 173.5M | 33.9M | 181K | 194.7K |
| Downloads, month over month | +5% | +1% | +10% | -11% |
| GitHub stars | 1.5K | 48 | – | 34 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.2K | 1.1K | 50 | 50 |
| Last release | Dec 1, 2026 | Nov 23, 2026 | Jun 14, 2011 | Aug 5, 2025 |
| Releases, 12 months | 1 | 1 | 0 | 0 |
| Weeks with commits | 22 / 26 | 3 / 26 | – | 0 / 26 |
| Recent contributors | 5 | 4 | – | 2 |
| First release | May 2013 | Mar 2011 | Jun 2011 | May 2011 |
| Python versions | 3.9 – 3.15 | 3.11 – 3.15 | – | 3.9 – 3.13 |
| License | Apache-2.0 | BSD-3-Clause | MIT | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.