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
bcrypt.js
A zero-dependency, pure JavaScript implementation of bcrypt for hashing and verifying passwords in Node.js and the browser.
bcrypt
Battle-tested password hashing for Node.js using the adaptive bcrypt algorithm.
aes-gcm
Pure Rust AES-GCM authenticated encryption with optional hardware acceleration
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
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.
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.
phpseclib
Pure-PHP implementations of SSH2, SFTP, X.509, RSA, AES, and dozens of other cryptographic primitives
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
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.
rsa
Pure Rust implementation of RSA encryption, signing, and key handling
Vault API
The official Go client library for HashiCorp Vault, providing typed access to secrets, auth methods, and system endpoints.
@node-rs/argon2
Native Rust binding for Argon2 password hashing in Node.js
js-md5
A fast, dependency-free MD5 hash function for JavaScript with UTF-8 support
sha.js
A pure JavaScript, streamable implementation of the SHA family of hash functions with a Node-crypto-like API.
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.
crypto-random-string
Generate cryptographically strong random strings for IDs, slugs, salts, and secrets
@aparajita/capacitor-secure-storage
Encrypted key-value storage for Capacitor apps, backed by the iOS Keychain and Android Keystore.
python-gnupg
A Python API for GnuPG — generate keys, encrypt, decrypt, sign, and verify data from your code.