Cryptography & Hashing Packages
Cryptographic primitives, hashing, and encryption libraries for securing data at rest and in transit across your application stack.
Packages in Cryptography & Hashing
Kind
Sort:Used by Most Apps
cryptography
The standard cryptographic library for Python, pairing safe high-level recipes with low-level primitives backed by Rust and OpenSSL.
PyJWT
A Python implementation of RFC 7519 for encoding, decoding, and verifying JSON Web Tokens.
forge
A native, pure-JavaScript implementation of TLS and PKI cryptography for building crypto-based Node.js and browser apps.
bcrypt (Python)
A Python library for secure password hashing using the bcrypt algorithm with an adjustable work factor
itsdangerous
A small Python toolkit for cryptographically signing data so you can trust it hasn't been tampered with when it comes back from an untrusted client.
argon2-cffi
Secure, high-level password hashing for Python using Argon2
@vitejs/plugin-basic-ssl
A Vite plugin that generates a self-signed certificate so your dev and preview servers can run over HTTPS with zero setup.
rcgen
A pure-Rust library for generating X.509 certificates, CSRs, and CRLs, including self-signed certs in a few lines of code.
Lego
A Go ACME client and library for Let's Encrypt, with built-in support for 200+ DNS providers, usable as a CLI or embedded directly in your own code.
jsrsasign
Pure JavaScript cryptography library for RSA/ECDSA/DSA signing, X.509 certificates, ASN.1, JWS/JWT, and CMS.
pyOpenSSL
A Python wrapper around the OpenSSL library for TLS connections and certificate handling
PyOTP
Python library for generating and verifying TOTP/HOTP one-time passwords for 2FA
x509-parser
A pure-Rust, zero-copy X.509 certificate parser (RFC 5280) built on the nom parser-combinator framework, with optional signature verification.
pycryptodome
A self-contained, low-level Python library of cryptographic primitives — ciphers, hashes, MACs, and public-key algorithms — with no OpenSSL dependency.
hvac
Python client library for HashiCorp Vault's secrets, authentication, and system-backend REST APIs.
service-identity
Verifies that a pyOpenSSL or cryptography TLS certificate is genuinely valid for the hostname, IP, or SRV name you intended to connect to.
cert-manager
Automates issuing, renewing, and managing TLS certificates for Kubernetes clusters.
python-rsa
Pure-Python RSA library for key generation, PKCS#1 encryption, decryption, signing, and verification, with no C extensions required.
xxhash
Fast Python bindings for the xxHash non-cryptographic hashing algorithm
asn1crypto
A fast, pure Python library for parsing and serializing ASN.1 structures with a pythonic, high-performance API.
ssh-key
A pure Rust implementation of SSH key, certificate, and signature file formats.
Certbot
EFF's command-line tool to obtain and auto-renew free Let's Encrypt TLS certificates
PKIjs
A pure TypeScript library implementing the core formats and protocols of public-key infrastructure, built entirely on the WebCrypto API with no native bindings or plug-ins.
PyNaCl
Python bindings to libsodium for authenticated encryption, digital signatures, hashing, and password-based key derivation