cryptography VS PyCrypto

Compare cryptography vs PyCrypto and see what are their differences.

cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. (by pyca)

PyCrypto

The Python Cryptography Toolkit (by pycrypto)
Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • Scout APM - Truly a developer’s best friend
  • Sonar - Write Clean Python Code. Always.
cryptography PyCrypto
64 2
5,189 2,357
2.3% -
9.8 4.3
1 day ago 10 months ago
Python Python
GNU General Public License v3.0 or later The Unlicense
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cryptography

Posts with mentions or reviews of cryptography. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-19.

PyCrypto

Posts with mentions or reviews of PyCrypto. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-04.
  • Help with basic steps in an application design
    3 projects | reddit.com/r/learnpython | 4 Jul 2022
    2) Which cryptographic library would be recommended for this purpose? I've seen people using PyCrypto (https://github.com/pycrypto/pycrypto) which seems simple enough, but that one seems not maintained anymore. I've also seen keyring.cryptfile (https://github.com/frispete/keyrings.cryptfile) and pyca/cryptography (https://github.com/pyca/cryptography) but I'm not really sure if any of those should actually be used for my purpose?
  • Please Help. I have installed everything yet tnote dos note work, there is nothing on the net now.
    3 projects | reddit.com/r/pop_os | 23 Jun 2022
    The specific bug you are having is in this issue of PyCrypto. That said, tnote should move on as PyCrypto is no longer maintained.. Ideally, tnote could migrate to PyCryptodome which is a near drop in replacement for PyCrypto, so "potentially" a single line of code change.

What are some alternatives?

When comparing cryptography and PyCrypto you can also consider the following projects:

pycryptodome - A self-contained cryptographic library for Python

pyOpenSSL -- A Python wrapper around the OpenSSL library - A Python wrapper around the OpenSSL library

PyNacl - Python binding to the Networking and Cryptography (NaCl) library

Paramiko - The leading native Python SSHv2 protocol library.

Passlib

Themis - Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.

hashids - Implementation of hashids (http://hashids.org) in Python. Compatible with Python 2 and Python 3