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

46Health
Library Cargo

hkdf

Pure Rust, no-std implementation of the HMAC-based Extract-and-Expand Key Derivation Function

110
Other
Used by 8
36Health
Library Cargo

rustls-pemfile

A basic parser for PEM-encoded keys and certificates in Rust

73
Other
Used by 8
89Health
Library Go

jwx

A complete, opinionated Go implementation of the JOSE stack: JWT, JWS, JWE, JWK, and JWA.

2,440
MIT
Used by 7
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,924
Other
Used by 7
35Health
Library Go

hashstructure

A Go library for generating deterministic hash values from arbitrary structs, maps, and slices.

762
MIT
Used by 7
44Health
Library Go

securecookie

Encodes and decodes authenticated, optionally encrypted cookie values for Go web applications, guarding session data from tampering.

732
BSD 3
Used by 7
59Health
Library Cargo

rustc-hash

The blazing-fast, non-cryptographic hash algorithm that powers the Rust compiler itself.

600
Other
Used by 7
58Health
Library Go

xxh3

A fast, pure Go port of the XXH3 hashing algorithm with SIMD-accelerated 64-bit and 128-bit variants.

590
Other
Used by 7
70Health
Library Cargo

secrecy

Rust wrapper types that keep secrets out of logs, debug output, and Clone/Copy, and securely wipe them from memory on drop

580
Other
Used by 7
84Health
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.

510
Other
Used by 7
65Health
Library Cargo

crc32fast

Fast, SIMD-accelerated CRC32 (IEEE) checksum computation for Rust

341
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,964
MIT
Used by 6
77Health
Library Go

certmagic

Automatic HTTPS for Go programs — the production-grade ACME client library that powers Caddy, obtaining and renewing TLS certificates with zero manual cert management.

5,613
Apache 2.0
Used by 6
94Health
Library Composer

phpseclib

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

5,600
MIT
Used by 6
49Health
Library Cargo

ring

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

4,108
Other
Used by 6
70Health
Library npm

jsrsasign

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

3,370
MIT
Used by 6
66Health
Library npm

argon2

Node.js bindings to the reference Argon2 password hashing implementation

2,194
MIT
Used by 6
49Health
Library PyPI

python-jose

A JOSE implementation in Python for JWS, JWE, JWK, and JWT signing/encryption

1,759
MIT
Used by 6
41Health
Library npm

hash-wasm

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

1,163
Used by 6
69Health
Library PyPI

pyOpenSSL

A Python wrapper around the OpenSSL library for TLS connections and certificate handling

945
Apache 2.0
Used by 6
79Health
Library Cargo

pkcs8

Pure Rust implementation of PKCS#8 private key encoding and decoding

343
Other
Used by 6
39Health
Library Cargo

subtle

Pure-Rust traits and utilities for writing constant-time cryptographic code that resists timing side-channel attacks.

312
BSD 3
Used by 6
85Health
Library npm

xml-crypto

TypeScript library for signing, verifying, and encrypting XML documents using the W3C XMLDSig and XMLEnc standards.

214
MIT
Used by 6
62Health
Library PyPI

python-xmlsec

Python bindings for the XML Security Library, giving lxml documents native XMLDSig and XMLEnc support.

105
MIT
Used by 6

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