Comparison
aes-pkcs5 vs cryptography vs oscrypto vs pycryptodome
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Implementation of AES with CBC/ECB mode and padding scheme PKCS5
Maintained. Last release 19 months ago, commits in 7 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install aes-pkcs5cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Actively maintained. Last release 2 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install cryptographyTLS (SSL) sockets, key generation, encryption, decryption, signing, verification and KDFs using the OS crypto libraries. Does not require a compiler, and relies on the OS for patching. Works on Windows, OS X and Linux/BSD.
Low maintenance activity. Last release over 4 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install oscryptoSelf-contained cryptographic library for Python, classical and post-quantum
Actively maintained. Last release 1 day ago, commits in 10 of the last 26 weeks. A safe choice.
pip install pycryptodomeIn short
- cryptography is the most used: 1.4B downloads a month, 16× more than pycryptodome.
- cryptography also has the best Pythie’s Index (93).
- Safe default for a new project: cryptography.
Side by side
| Metric | aes-pkcs5 | cryptography | oscrypto | pycryptodome |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 41 | Pythie’s Index: 93 | Pythie’s Index: 19 | Pythie’s Index: 80 |
| Verdict | Maintained | Actively maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 114.6K | 1.4B | 18.2M | 85.7M |
| Downloads, month over month | -23% | +7% | +1% | +8% |
| GitHub stars | 8 | 7.9K | 346 | 3.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 13K | 59 | 3.1K |
| Last release | Apr 26, 2025 | Sep 30, 2026 | Mar 18, 2022 | Nov 30, 2026 |
| Releases, 12 months | 0 | 11 | 0 | 11 |
| Weeks with commits | 7 / 26 | 26 / 26 | 3 / 26 | 10 / 26 |
| Recent contributors | 1 | 18 | 6 | 8 |
| First release | Jun 2022 | Jan 2014 | Oct 2015 | Jun 2014 |
| Python versions | 3.9 – 3.13 | 3.9 – 3.15 | 3.2 – 3.10 | 3.9 – 3.15 |
| License | BSD-2-Clause | Apache-2.0 OR BSD-3-Clause | MIT | BSD-2-Clause AND Unlicense AND MIT |
| 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.