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.
crypto-js
A JavaScript library of crypto standards - hashing, HMAC, PBKDF2, and symmetric ciphers for Node.js and the browser.
forge
A native, pure-JavaScript implementation of TLS and PKI cryptography for building crypto-based Node.js and browser apps.
object-hash
Deterministic SHA1/MD5 hashing for any JavaScript value or object, in Node.js and the browser.
OTPAuth
HOTP and TOTP one-time password library for Node.js, Deno, Bun, and browsers
js-sha256
A fast, zero-dependency SHA-256/SHA-224 hashing library for JavaScript with built-in UTF-8 support and HMAC.
libsodium-wrappers
WebAssembly build of libsodium with hand-friendly JavaScript wrappers for encryption, signing, hashing, and key exchange.
noble-hashes
Audited, zero-dependency JS/TS implementation of SHA2, SHA3, BLAKE, HMAC, HKDF, PBKDF2, Scrypt and Argon2 that tree-shakes down to a few kilobytes per hash.
md5
A small, dependency-free Rust implementation of the MD5 hash function
argon2-cffi
Secure, high-level password hashing for Python using Argon2
react-native-get-random-values
A native polyfill that implements crypto.getRandomValues() for React Native so libraries like uuid work without modification.
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.
rustc-hash
The blazing-fast, non-cryptographic hash algorithm that powers the Rust compiler itself.
crc32fast
Fast, SIMD-accelerated CRC32 (IEEE) checksum computation for Rust
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.
@node-rs/argon2
Native Rust binding for Argon2 password hashing in Node.js
aHash
A fast, DOS-resistant, AES-accelerated non-cryptographic hasher purpose-built for in-memory HashMaps
xxhash-rust
Pure-Rust implementation of the XXH32, XXH64, and XXH3 hash algorithms
js-md5
A fast, dependency-free MD5 hash function for JavaScript with UTF-8 support
xxhash
Fast Python bindings for the xxHash non-cryptographic hashing algorithm
TwoX-Hash
A pure Rust implementation of the xxHash and XXH3 non-cryptographic hashing algorithms.