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

48Health
Library npm

jsonwebtoken

The de facto Node.js library for signing, verifying, and decoding JSON Web Tokens.

18,189
MIT
Used by 93
88Health
Library npm

jose

Zero-dependency JWT, JWS, JWE, and JWK toolkit for Node.js, browsers, and edge runtimes.

7,812
MIT
Used by 66
67Health
Library Cargo

sha2

Pure Rust implementation of the SHA-2 hash function family (SHA-224/256/384/512) with hardware-accelerated backends.

2,267
Other
Used by 61
84Health
Library PyPI

cryptography

The standard cryptographic library for Python, pairing safe high-level recipes with low-level primitives backed by Rust and OpenSSL.

7,786
Other
Used by 54
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
48Health
Library npm

bcrypt

Battle-tested password hashing for Node.js using the adaptive bcrypt algorithm.

7,804
MIT
Used by 34
63Health
Library PyPI

Certifi

Mozilla's curated root CA bundle for verifying SSL/TLS certificates in Python.

1,001
MPL-2.0
Used by 32
93Health
Library Cargo

rustls

A modern, memory-safe TLS library for Rust with no unsafe code and no legacy crypto by default.

7,640
Other
Used by 23
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
76Health
Library Cargo

aes-gcm

Pure Rust AES-GCM authenticated encryption with optional hardware acceleration

964
Other
Used by 20
71Health
Library Go

go-jose

The canonical Go implementation of JSON Web Encryption, Signature, and Token standards (JWE, JWS, JWT).

536
Apache 2.0
Used by 20
48Health
Library Cargo

hmac

Generic, pure-Rust implementation of Hash-based Message Authentication Code (HMAC)

373
Other
Used by 19
58Health
Library npm

ssh2

Pure-JavaScript SSH2 client and server library for Node.js, with SFTP, exec, shell, and port forwarding support.

5,823
MIT
Used by 18
43Health
Library Go

otp

A Go library for generating and validating TOTP and HOTP one-time passcodes, compatible with Google Authenticator.

2,961
Apache 2.0
Used by 18
39Health
Library Go

xxhash

A pure-Go implementation of the 64-bit xxHash (XXH64) algorithm with hand-written amd64 and arm64 assembly for maximum throughput.

2,142
MIT
Used by 18
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
45Health
Library npm

cuid2

Secure, collision-resistant unique IDs for JavaScript, built to resist guessing and horizontal-scale collisions.

3,401
MIT
Used by 17
35Health
Library npm

object-hash

Deterministic SHA1/MD5 hashing for any JavaScript value or object, in Node.js and the browser.

1,474
MIT
Used by 17
74Health
Library npm

node-jwks-rsa

A Node.js library that retrieves RSA, EC, and OKP signing keys from a JWKS endpoint, with caching and rate limiting built in.

875
MIT
Used by 17
59Health
Library Cargo

getrandom

A small, cross-platform Rust crate for retrieving random bytes directly from the OS

583
Other
Used by 17
75Health
Library PyPI

bcrypt (Python)

A Python library for secure password hashing using the bcrypt algorithm with an adjustable work factor

1,501
Apache 2.0
Used by 16
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

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