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

30Health
Library npm

buffer-crc32

A tiny, zero-dependency CRC32 checksum library for Buffers and strings in Node.js.

100
MIT
Used by 1
61Health
Library npm

@fastify/etag

A Fastify plugin that automatically generates HTTP ETags and replies 304 Not Modified when a request's If-None-Match header matches.

85
MIT
Used by 1
31Health
Library Cargo

crypto_box

Pure Rust NaCl-compatible public-key authenticated encryption using X25519 and XSalsa20/ChaCha20Poly1305.

83
Other
Used by 1
72Health
Library PyPI

tink-py

Google's misuse-resistant cryptography library for Python, providing safe AEAD, MAC, digital signature, and hybrid encryption APIs.

79
Apache 2.0
Used by 1
27Health
Library Cargo

nohash-hasher

A Rust Hasher that skips hashing entirely, turning HashMap and HashSet lookups on integer keys into a direct pass-through.

71
Apache 2.0
Used by 1
62Health
Library Cargo

picky

Portable X.509, PKI, JOSE and HTTP signature primitives for Rust

70
Other
Used by 1
81Health
Library npm

@sanity/preview-url-secret

Generates and validates signed, expiring secrets that gate draft-mode preview access for Sanity Studio-driven front ends.

65
MIT
Used by 1
33Health
Library npm

tweetnacl-util-js

String encoding utilities for UTF-8 and Base64, extracted from TweetNaCl.js for use with the TweetNaCl cryptography library.

65
Other
Used by 1
28Health
Library Cargo

pwhash

A pure-Rust library for hashing and verifying passwords with bcrypt, SHA-crypt, MD5-crypt, and other Unix crypt(3) algorithms.

63
MIT
Used by 1
34Health
Library PyPI

dirhash-python

Compute a single deterministic hash of a file system directory in Python

61
MIT
Used by 1
29Health
Library Cargo

hashring-rs

A minimal Rust crate for consistent hashing with a clean add/remove/get API and pluggable hashers.

61
MIT
Used by 1
34Health
SDK Cargo

yubico-rs

A Rust client for Yubico's OTP validation API, letting apps verify YubiKey one-time passwords over HTTP.

56
Other
Used by 1
66Health
Library Cargo

aegis

High-performance Rust implementation of the AEGIS family of authenticated ciphers

55
MIT
Used by 1
25Health
Library Cargo

coset

Rust types for building and parsing CBOR Object Signing and Encryption (COSE) messages

49
Apache 2.0
Used by 1
30Health
Library Cargo

simd-adler32

SIMD-accelerated Adler-32 checksum hashing for Rust, with zero dependencies and no_std support.

49
MIT
Used by 1
49Health
Library Cargo

constant_time_eq

A dependency-free Rust crate for comparing byte strings in constant time, resisting timing side-channel attacks.

48
Other
Used by 1
30Health
Library PyPI

murmurhash

Cython bindings for the fast, non-cryptographic MurmurHash2 hashing algorithm

47
MIT
Used by 1
67Health
Library npm

asn1-schema

Declarative TypeScript decorators for defining, parsing, and serializing ASN.1/DER schemas used across X.509, PKCS, and CMS structures.

45
MIT
Used by 1
42Health
Library Cargo

nkeys

A Rust implementation of NATS nkeys: Ed25519 identity and auth keypairs.

45
Apache 2.0
Used by 1
44Health
SDK PyPI

Microsoft Authentication Extensions for Python

Cross-platform encrypted token cache persistence for MSAL Python, backed by DPAPI, Keychain, and libsecret.

44
MIT
Used by 1
30Health
Library Cargo

sha256

A lightweight Rust crate for one-line SHA-256 digests of strings, bytes, and files

41
Other
Used by 1
38Health
Library Cargo

rust-hmac-sha256

A small, self-contained SHA-256, HMAC-SHA256, and HKDF-SHA256 implementation in pure Rust with no_std support.

39
Other
Used by 1
28Health
Library Cargo

magic-crypt

AES and DES string, file, and data encryption for Rust with cross-language compatibility.

38
Apache 2.0
Used by 1
28Health
Library Cargo

hyper-native-tls

native-tls-backed HTTPS support for the legacy Hyper 0.10 HTTP client and server in Rust.

36
Apache 2.0
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