Comparison
M2Crypto vs pyaes vs pycrypto vs pycryptodome
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python crypto and SSL toolkit
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install m2cryptoPure-Python Implementation of the AES block-cipher and common modes of operation
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install pyaesCryptographic modules for Python.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install pycryptoSelf-contained cryptographic library for Python, classical and post-quantum
Actively maintained. Last release 2 days ago, commits in 10 of the last 26 weeks. A safe choice.
pip install pycryptodomeIn short
- pyaes looks abandoned: avoid it for new projects.
- pycrypto looks abandoned: avoid it for new projects.
- pycryptodome is the most used: 85.7M downloads a month, 8.9× more than pycrypto.
- Maintenance is comparable: M2Crypto 82, pycryptodome 80 on Pythie’s Index.
- Safe default for a new project: pycryptodome.
Side by side
| Metric | M2Crypto | pyaes | pycrypto | pycryptodome |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 10 | Pythie’s Index: 19 | Pythie’s Index: 80 |
| Verdict | Actively maintained | Likely abandoned | Likely abandoned | Actively maintained |
| Downloads / month | 324.2K | 5.3M | 9.7M | 85.7M |
| Downloads, month over month | +9% | +11% | +5% | +8% |
| GitHub stars | – | 475 | – | 3.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 32 | 267 | 468 | 3.1K |
| Last release | Oct 12, 2026 | Sep 20, 2017 | Jun 20, 2014 | Nov 30, 2026 |
| Releases, 12 months | 5 | 0 | 0 | 11 |
| Weeks with commits | – | 0 / 26 | – | 10 / 26 |
| Recent contributors | – | 5 | – | 8 |
| First release | Apr 2006 | May 2014 | Dec 2010 | Jun 2014 |
| Python versions | 3.6 – 3.12 | – | – | 3.9 – 3.15 |
| License | BSD-2-Clause | MIT | non-standard | BSD-2-Clause AND Unlicense AND MIT |
| Known vulnerabilities | None | None | 4 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.