Packages

Cryptography & Hashing Packages

Cryptographic primitives, hashing, and encryption libraries for securing data at rest and in transit across your application stack.

259 packages

Packages in Cryptography & Hashing

58Health
Library npm

bcrypt.js

A zero-dependency, pure JavaScript implementation of bcrypt for hashing and verifying passwords in Node.js and the browser.

3,797
BSD 3
Used by 51
86Health
Library PyPI

PyJWT

A Python implementation of RFC 7519 for encoding, decoding, and verifying JSON Web Tokens.

5,706
MIT
Used by 44
44Health
Library npm

crypto-js

A JavaScript library of crypto standards - hashing, HMAC, PBKDF2, and symmetric ciphers for Node.js and the browser.

16,409
MIT
Used by 40
83Health
Library npm

otplib

TypeScript-first TOTP and HOTP library with a pluggable crypto/base32 architecture for Node, Bun, Deno, and browsers.

2,290
MIT
Used by 22
63Health
Library npm

forge

A native, pure-JavaScript implementation of TLS and PKI cryptography for building crypto-based Node.js and browser apps.

5,334
Other
Used by 17
46Health
Library PyPI

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.

3,135
BSD 3
Used by 15
69Health
Library npm

OTPAuth

HOTP and TOTP one-time password library for Node.js, Deno, Bun, and browsers

1,482
MIT
Used by 15
88Health
Library Go

webauthn

A spec-conformant WebAuthn and FIDO2 passkey server library for Go, handling registration and authentication ceremonies for passwordless and multi-factor login.

1,338
BSD 3
Used by 11
72Health
Library npm

libsodium-wrappers

WebAssembly build of libsodium with hand-friendly JavaScript wrappers for encryption, signing, hashing, and key exchange.

1,155
Other
Used by 10
81Health
Library npm

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.

927
MIT
Used by 9
67Health
Library PyPI

argon2-cffi

Secure, high-level password hashing for Python using Argon2

731
MIT
Used by 8
40Health
Library npm

react-native-get-random-values

A native polyfill that implements crypto.getRandomValues() for React Native so libraries like uuid work without modification.

415
MIT
Used by 8
49Health
Library npm

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.

1,923
Other
Used by 7
92Health
Library Go

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.

9,890
MIT
Used by 6
93Health
Library Composer

phpseclib

Pure-PHP implementations of SSH2, SFTP, X.509, RSA, AES, and dozens of other cryptographic primitives

5,593
MIT
Used by 6
64Health
Library Cargo

ring

Safe, fast, small cryptographic primitives for Rust, built on verified assembly from BoringSSL

4,109
Other
Used by 6
41Health
Library npm

hash-wasm

Lightning-fast hash and password-derivation functions using hand-tuned WebAssembly binaries

1,159
Used by 6
40Health
Library npm

JavaScript-MD5

A zero-dependency JavaScript MD5 and HMAC-MD5 hashing implementation that runs identically in Node.js, browsers, and AMD module loaders.

4,556
MIT
Used by 5
45Health
Library npm

speakeasy

A Node.js library for generating and verifying RFC 4226 (HOTP) and RFC 6238 (TOTP) one-time passcodes for two-factor authentication.

2,753
MIT
Used by 5
45Health
Library Cargo

rsa

Pure Rust implementation of RSA encryption, signing, and key handling

673
Apache 2.0
Used by 5
96Health
SDK Go

Vault API

The official Go client library for HashiCorp Vault, providing typed access to secrets, auth methods, and system endpoints.

36,312
MPL-2.0
Used by 4
66Health
Library PyPI

pycryptodome

A self-contained, low-level Python library of cryptographic primitives — ciphers, hashes, MACs, and public-key algorithms — with no OpenSSL dependency.

3,265
Other
Used by 4
71Health
Library npm

altcha

Privacy-first, self-hosted CAPTCHA replacement that proves a visitor is human with invisible proof-of-work instead of puzzles, tracking, or third-party APIs.

2,779
MIT
Used by 4
64Health
Library npm

js-md5

A fast, dependency-free MD5 hash function for JavaScript with UTF-8 support

838
MIT
Used by 3

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers