Python Cryptography

Open-source Python projects categorized as Cryptography

Top 23 Python Cryptography Projects

  • Ciphey

    ⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡

    Project mention: Email Obfuscation Rendered Almost Ineffective Against ChatGPT | | 2023-11-05

    Check Ciphey, I have used several times before and overall it’s great.

  • PySyft

    Perform data science on data that remains in someone else's server

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • Paramiko

    The leading native Python SSHv2 protocol library.

  • cryptography

    cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

    Project mention: “Our paying customers need X, when will you fix it?” | | 2023-07-15

    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

  • RsaCtfTool

    RSA attack tool (mainly for ctf) - retrieve private key from weak public key and/or uncipher data

    Project mention: RSA encryption | /r/cryptography | 2023-01-03

    Appreciate your insight! After a quick search I found this one . Probably gonna give it a try

  • hashids

    Implementation of hashids ( in Python. Compatible with Python 2 and Python 3

  • xortool

    A tool to analyze multi-byte xor cipher

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • mintotp

    Minimal TOTP generator in 20 lines of Python

    Project mention: PyPI announces mandatory use of 2FA for all software publishers | /r/programming | 2023-05-30

    Huh? Who is saying you need a smartphone? PyPi accepts TOTP as 2FA. TOTP is an open standard that has been around for at least a decade already and is very easy to implement, literally 20 lines of python. There are a ton of TOTP applications available, from CLI, to GUI on desktop systems, to Android apps, iOS, etc. If you have any device, be it a computer, phone, tablet, etc., which you do since you need one to publish the code from, you can easily generate TOTP codes. Heck, you could even do it by a hand on a paper.

  • tf-encrypted

    A Framework for Encrypted Machine Learning in TensorFlow

  • trezor-firmware

    :lock: Trezor Firmware Monorepo

    Project mention: ¿How to start in bitcoin? | /r/Bitcoin | 2023-10-17 - Easy to use, no matter how new in Bitcoin you're.

  • Bcrypt

    Modern(-ish) password hashing for your software and your servers

    Project mention: Encripty passwords? Answer from Chat GPT | /r/Frontend | 2023-01-16

    This is pretty spot on, and the salt is a common practice too. There’s libraries like bcrypt that can handle this for you. I recommend watching this video as an introduction to securely storing passwords, and check the comments for some other good tips.

  • featherduster

    An automated, modular cryptanalysis tool; i.e., a Weapon of Math Destruction

  • python-ecdsa

    pure-python ECDSA signature/verification and ECDH key agreement

  • pyOpenSSL -- A Python wrapper around the OpenSSL library

    A Python wrapper around the OpenSSL library

  • paranoid_crypto

    Paranoid's library contains implementations of checks for well known weaknesses on cryptographic artifacts.

    Project mention: Show HN: SimSIMD vs. SciPy: How AVX-512 and SVE make SIMD cleaner and ML faster | | 2023-10-07





    mkl_random-feedstock: :

    > NumPy-based implementation of random number generation sampling using Intel (R) Math Kernel Library, mirroring numpy.random, but exposing all choices of sampling algorithms available in MKL



    xtensor-fftw (FFT with xtensor (c++)) could probably be AVX-512 and SVE -optimized as well?

  • nucypher

    Threshold Access Control (TACo) runtimes for the Threshold Network

  • Loki

    Remote Access Tool (by Bitwise-01)

  • refinery

    High Octane Triage Analysis (by binref)

    Project mention: refinery: High Octane Triage Analysis - The Binary Refinery™ is a collection of Python scripts that implement transformations of binary data such as compression and encryption | /r/blueteamsec | 2023-03-02
  • basecrack

    Decode All Bases - Base Scheme Decoder

    Project mention: Any cloud apps that allow api? | /r/selfhosted | 2023-12-01
  • python-hdwallet

    Python-based library for the implementation of a hierarchical deterministic wallet generator for more than 140+ multiple cryptocurrencies.

    Project mention: How To Send Doge In Python | /r/dogecoindev | 2023-01-12

    Lets say I am using to generate an HD wallet to receive doge payments for an app I am working on. How do I send funds from those generated addresses to the main one in python + How do i send DOGE from the seed wallet to peoples personal wallets?

  • mpyc

    MPyC: Multiparty Computation in Python

  • nfreezer

    nFreezer is an encrypted-at-rest backup tool.

  • opentimestamps-client

    OpenTimestamps client

    Project mention: 📑 MiniBolt resources 📚 List of the MiniBolt core/bonus guides + latest versions | /r/minibolt | 2022-12-15

    OpenTimeStamp-client v0.7.1 (Released: 26th August 2022) -

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-01.

Python Cryptography related posts


What are some of the best open-source Cryptography projects in Python? This list will help you:

Project Stars
1 Ciphey 14,412
2 PySyft 9,030
3 Paramiko 8,619
4 cryptography 5,940
5 RsaCtfTool 4,895
6 hashids 1,401
7 xortool 1,301
8 mintotp 1,235
9 tf-encrypted 1,168
10 trezor-firmware 1,155
11 Bcrypt 1,069
12 featherduster 1,049
13 python-ecdsa 867
14 pyOpenSSL -- A Python wrapper around the OpenSSL library 846
15 paranoid_crypto 772
16 nucypher 685
17 Loki 553
18 refinery 507
19 basecrack 472
20 python-hdwallet 391
21 mpyc 324
22 nfreezer 304
23 opentimestamps-client 273
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives