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

47Health
Library npm

jsonwebtoken

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

18,177
MIT
Used by 93
88Health
Library npm

jose

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

7,842
MIT
Used by 66
74Health
Library Cargo

sha2

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

2,280
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,821
Other
Used by 54
55Health
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
87Health
Library PyPI

PyJWT

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

5,719
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,398
MIT
Used by 40
47Health
Library npm

bcrypt

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

7,805
MIT
Used by 34
67Health
Library PyPI

Certifi

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

1,019
MPL-2.0
Used by 32
94Health
Library Cargo

rustls

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

7,700
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,298
MIT
Used by 22
73Health
Library Cargo

aes-gcm

Pure Rust AES-GCM authenticated encryption with optional hardware acceleration

968
Other
Used by 20
77Health
Library Go

go-jose

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

541
Apache 2.0
Used by 20
47Health
Library Cargo

hmac

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

375
Other
Used by 19
56Health
Library npm

ssh2

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

5,825
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,964
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,148
MIT
Used by 18
60Health
Library npm

forge

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

5,342
Other
Used by 17
43Health
Library npm

cuid2

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

3,406
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,475
MIT
Used by 17
68Health
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.

876
MIT
Used by 17
60Health
Library Cargo

getrandom

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

590
Other
Used by 17
74Health
Library PyPI

bcrypt (Python)

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

1,508
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,141
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