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
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
69Health
Library npm

OTPAuth

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

1,482
MIT
Used by 15
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
72Health
Tool npm

@vitejs/plugin-basic-ssl

A Vite plugin that generates a self-signed certificate so your dev and preview servers can run over HTTPS with zero setup.

520
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
83Health
Library Cargo

rcgen

A pure-Rust library for generating X.509 certificates, CSRs, and CRLs, including self-signed certs in a few lines of code.

509
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
72Health
Library npm

jsrsasign

Pure JavaScript cryptography library for RSA/ECDSA/DSA signing, X.509 certificates, ASN.1, JWS/JWT, and CMS.

3,369
MIT
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
69Health
Library Cargo

x509-parser

A pure-Rust, zero-copy X.509 certificate parser (RFC 5280) built on the nom parser-combinator framework, with optional signature verification.

277
Other
Used by 5
61Health
Library PyPI

service-identity

Verifies that a pyOpenSSL or cryptography TLS certificate is genuinely valid for the hostname, IP, or SRV name you intended to connect to.

106
MIT
Used by 4
95Health
Tool Go

cert-manager

Automates issuing, renewing, and managing TLS certificates for Kubernetes clusters.

14,090
Apache 2.0
Used by 3
64Health
Library npm

js-md5

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

838
MIT
Used by 3
36Health
Library npm

sha.js

A pure JavaScript, streamable implementation of the SHA family of hash functions with a Node-crypto-like API.

298
Other
Used by 3
64Health
Library Cargo

ssh-key

A pure Rust implementation of SSH key, certificate, and signature file formats.

247
Other
Used by 3
91Health
Tool PyPI

Certbot

EFF's command-line tool to obtain and auto-renew free Let's Encrypt TLS certificates

33,251
Apache 2.0
Used by 2
83Health
Library npm

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.

1,399
BSD 3
Used by 2
59Health
Library npm

crypto-random-string

Generate cryptographically strong random strings for IDs, slugs, salts, and secrets

592
MIT
Used by 2
77Health
Library Cargo

rustls-platform-verifier

Verifies TLS certificates through each operating system's native trust store instead of a bundled, hand-rolled root list.

159
Apache 2.0
Used by 2
75Health
Library Composer

ca-bundle

Find the system CA bundle path in PHP, with a Mozilla CA bundle fallback.

2,958
MIT
Used by 1

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