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
sha2
Pure Rust implementation of the SHA-2 hash function family (SHA-224/256/384/512) with hardware-accelerated backends.
bcrypt.js
A zero-dependency, pure JavaScript implementation of bcrypt for hashing and verifying passwords in Node.js and the browser.
rustls
A modern, memory-safe TLS library for Rust with no unsafe code and no legacy crypto by default.
forge
A native, pure-JavaScript implementation of TLS and PKI cryptography for building crypto-based Node.js and browser apps.
OTPAuth
HOTP and TOTP one-time password library for Node.js, Deno, Bun, and browsers
keyring-rs
Cross-platform Rust library for storing passwords and secrets in the OS-native credential store
Svix
Official JavaScript/TypeScript client for the Svix webhook delivery API and signature verification.
libsodium-wrappers
WebAssembly build of libsodium with hand-friendly JavaScript wrappers for encryption, signing, hashing, and key exchange.
react-native-get-random-values
A native polyfill that implements crypto.getRandomValues() for React Native so libraries like uuid work without modification.
rustls-pemfile
A basic parser for PEM-encoded keys and certificates in Rust
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.
ring
Safe, fast, small cryptographic primitives for Rust, built on verified assembly from BoringSSL
hash-wasm
Lightning-fast hash and password-derivation functions using hand-tuned WebAssembly binaries
JavaScript-MD5
A zero-dependency JavaScript MD5 and HMAC-MD5 hashing implementation that runs identically in Node.js, browsers, and AMD module loaders.
speakeasy
A Node.js library for generating and verifying RFC 4226 (HOTP) and RFC 6238 (TOTP) one-time passcodes for two-factor authentication.
aHash
A fast, DOS-resistant, AES-accelerated non-cryptographic hasher purpose-built for in-memory HashMaps
hyper-rustls
Rustls TLS connector for the hyper HTTP library, for pure-Rust HTTPS clients and servers.
xxhash-rust
Pure-Rust implementation of the XXH32, XXH64, and XXH3 hash algorithms
tokio-postgres-rustls
Rustls TLS integration for the tokio-postgres async PostgreSQL client
russh
Async Rust SSH client and server library on Tokio, with post-quantum hybrid key exchange, OpenSSH certificates, and agent forwarding.
k256
Pure Rust secp256k1 elliptic curve library for ECDSA, Schnorr, and ECDH cryptography
js-md5
A fast, dependency-free MD5 hash function for JavaScript with UTF-8 support
TwoX-Hash
A pure Rust implementation of the xxHash and XXH3 non-cryptographic hashing algorithms.
sha.js
A pure JavaScript, streamable implementation of the SHA family of hash functions with a Node-crypto-like API.