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

Compare pyOpenSSL -- A Python wrapper around the OpenSSL library vs cryptography and see what are their differences.


cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. (by pyca)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
pyOpenSSL -- A Python wrapper around the OpenSSL library cryptography
0 69
845 5,914
0.5% 1.1%
8.1 9.6
22 days ago 6 days ago
Python Python
Apache License 2.0 GNU General Public License v3.0 or later
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.

pyOpenSSL -- A Python wrapper around the OpenSSL library

Posts with mentions or reviews of pyOpenSSL -- A Python wrapper around the OpenSSL library. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning pyOpenSSL -- A Python wrapper around the OpenSSL library yet.
Tracking mentions began in Dec 2020.


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 2023-07-15.
  • “Our paying customers need X, when will you fix it?”
    5 projects | | 15 Jul 2023
    Some context:

    - The cryptography dependency used by the current release of mitmproxy has a CVE related to an OpenSSL vulnerability (

    - The main branch of mitmproxy has already upgraded to the latest version of the cryptography package

    - The author of the package does not believe the CVE impacts users of mitmproxy so a release including this commit has not been made

  • Microservice memory profiling
    2 projects | /r/FastAPI | 28 May 2023
    first, I did see a correlation between an endpoint being heavily hit in a given time window, and an increase of memory usage that didn't went down afterwards. The endpoint didn't do much so I went through every instruction - is a global variable appended indefinitely ? Is a cache decorator growing without a limit set ? Do I use a 3rd party that has a known issue ? Turns out, it was using cryptography, so I looked up known issues. Saw an issue about a leak when using load_pem_x509_certificate - which I used ! I could fortunately just upgrade the library
  • I love building a startup in Rust. I wouldn't pick it again
    11 projects | | 17 Feb 2023
    > A big problem with Rust, long-term, is that the kind of programs that really need it are somewhat out of today's mainstream. It's not that useful for webcrap. It's not that useful for phone apps. The AI people use Jupyter notebooks and Python to drive code on GPUs.

    One thing this is missing is that Rust is useful for libraries callable by many different languages. You may or may not want to use it to build an actual Web app (I personally think it's a solid choice, but reasonable people can disagree). But for building, say, the Python cryptography library [1], which is used as a part of "webcrap" and Jupyter notebooks, Rust is clearly an excellent option. Nobody is going to build core Python infrastructure in Go or Node, and there will always be a need for plumbing libraries.


  • Azure CTO: “It's time to halt starting any new projects in C/C++ ”
    15 projects | | 19 Sep 2022
    > I am curious. Could you give some more context?

    Probably talking about this:

  • Zig, the Small Language
    13 projects | | 7 Sep 2022
  • Using a src directory for a Python package
    3 projects | /r/learnpython | 16 Aug 2022
    As for an example, cryptography is the general example I recommend here:
  • Difference between ruby 2 and ruby 3?
    2 projects | /r/ruby | 15 Aug 2022
    Wasn't entirely serious, just this crap
  • OpenSSL Security Advisory [5 July 2022]
    6 projects | | 5 Jul 2022
    The modes of operation aren't the main reason people use OpenSSL; it's the support for all the gnarly (and less gnarly) protocols and wire formats that show up when doing applied cryptography.

    Progress is being made on replacing OpenSSL in a lot of contexts (specifically, the RustCrypto[1] folks are doing excellent work and so is cryptography[2]), but there are still plenty of areas where OpenSSL is needed to compose the mostly algebraic cryptography with the right wire format.



  • Help with basic steps in an application design
    3 projects | /r/learnpython | 4 Jul 2022
    2) Which cryptographic library would be recommended for this purpose? I've seen people using PyCrypto ( which seems simple enough, but that one seems not maintained anymore. I've also seen keyring.cryptfile ( and pyca/cryptography ( but I'm not really sure if any of those should actually be used for my purpose?
  • I made the prepper version of the Internet
    6 projects | /r/preppers | 28 Mar 2022
    Ah, and sorry, I forgot, I don't use any third party libs for the networking. It's all from scratch to be as efficient as possible, and usable over low-bandwidth links. I used a library for fetching network card details when using physical ethernet devices as interfaces, and I used the very well-regarde library for the cryptographic primitives that I use in the implementation.

What are some alternatives?

When comparing pyOpenSSL -- A Python wrapper around the OpenSSL library and cryptography you can also consider the following projects:

PyCrypto - The Python Cryptography Toolkit

pycryptodome - A self-contained cryptographic library for Python

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

Paramiko - The leading native Python SSHv2 protocol library.


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 ( in Python. Compatible with Python 2 and Python 3

wolfssl - The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3!

HashLib4Python-CPPWrapper - HashLib4Python is a cython wrapper around HashLib4CPP library that provides an easy to use interface for computing hashes and checksums of strings, files and bytearrays.

OpenSSL - TLS/SSL and crypto library