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
hkdf
Pure Rust, no-std implementation of the HMAC-based Extract-and-Expand Key Derivation Function
rustls-pemfile
A basic parser for PEM-encoded keys and certificates in Rust
jwx
A complete, opinionated Go implementation of the JOSE stack: JWT, JWS, JWE, JWK, and JWA.
tweetnacl-js
A JavaScript port of the audited TweetNaCl cryptographic library, providing public-key and secret-key encryption, signing, and hashing for Node.js and browsers.
hashstructure
A Go library for generating deterministic hash values from arbitrary structs, maps, and slices.
securecookie
Encodes and decodes authenticated, optionally encrypted cookie values for Go web applications, guarding session data from tampering.
rustc-hash
The blazing-fast, non-cryptographic hash algorithm that powers the Rust compiler itself.
xxh3
A fast, pure Go port of the XXH3 hashing algorithm with SIMD-accelerated 64-bit and 128-bit variants.
secrecy
Rust wrapper types that keep secrets out of logs, debug output, and Clone/Copy, and securely wipe them from memory on drop
rcgen
A pure-Rust library for generating X.509 certificates, CSRs, and CRLs, including self-signed certs in a few lines of code.
crc32fast
Fast, SIMD-accelerated CRC32 (IEEE) checksum computation for Rust
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.
certmagic
Automatic HTTPS for Go programs — the production-grade ACME client library that powers Caddy, obtaining and renewing TLS certificates with zero manual cert management.
phpseclib
Pure-PHP implementations of SSH2, SFTP, X.509, RSA, AES, and dozens of other cryptographic primitives
ring
Safe, fast, small cryptographic primitives for Rust, built on verified assembly from BoringSSL
jsrsasign
Pure JavaScript cryptography library for RSA/ECDSA/DSA signing, X.509 certificates, ASN.1, JWS/JWT, and CMS.
argon2
Node.js bindings to the reference Argon2 password hashing implementation
python-jose
A JOSE implementation in Python for JWS, JWE, JWK, and JWT signing/encryption
hash-wasm
Lightning-fast hash and password-derivation functions using hand-tuned WebAssembly binaries
pyOpenSSL
A Python wrapper around the OpenSSL library for TLS connections and certificate handling
pkcs8
Pure Rust implementation of PKCS#8 private key encoding and decoding
subtle
Pure-Rust traits and utilities for writing constant-time cryptographic code that resists timing side-channel attacks.
xml-crypto
TypeScript library for signing, verifying, and encrypting XML documents using the W3C XMLDSig and XMLEnc standards.
python-xmlsec
Python bindings for the XML Security Library, giving lxml documents native XMLDSig and XMLEnc support.