Cryptography & Hashing Packages
Cryptographic primitives, hashing, and encryption libraries for securing data at rest and in transit across your application stack.
Packages in Cryptography & Hashing
Kind
Sort:Used by Most Apps
buffer-crc32
A tiny, zero-dependency CRC32 checksum library for Buffers and strings in Node.js.
@fastify/etag
A Fastify plugin that automatically generates HTTP ETags and replies 304 Not Modified when a request's If-None-Match header matches.
crypto_box
Pure Rust NaCl-compatible public-key authenticated encryption using X25519 and XSalsa20/ChaCha20Poly1305.
tink-py
Google's misuse-resistant cryptography library for Python, providing safe AEAD, MAC, digital signature, and hybrid encryption APIs.
nohash-hasher
A Rust Hasher that skips hashing entirely, turning HashMap and HashSet lookups on integer keys into a direct pass-through.
picky
Portable X.509, PKI, JOSE and HTTP signature primitives for Rust
@sanity/preview-url-secret
Generates and validates signed, expiring secrets that gate draft-mode preview access for Sanity Studio-driven front ends.
tweetnacl-util-js
String encoding utilities for UTF-8 and Base64, extracted from TweetNaCl.js for use with the TweetNaCl cryptography library.
pwhash
A pure-Rust library for hashing and verifying passwords with bcrypt, SHA-crypt, MD5-crypt, and other Unix crypt(3) algorithms.
dirhash-python
Compute a single deterministic hash of a file system directory in Python
hashring-rs
A minimal Rust crate for consistent hashing with a clean add/remove/get API and pluggable hashers.
yubico-rs
A Rust client for Yubico's OTP validation API, letting apps verify YubiKey one-time passwords over HTTP.
aegis
High-performance Rust implementation of the AEGIS family of authenticated ciphers
coset
Rust types for building and parsing CBOR Object Signing and Encryption (COSE) messages
simd-adler32
SIMD-accelerated Adler-32 checksum hashing for Rust, with zero dependencies and no_std support.
constant_time_eq
A dependency-free Rust crate for comparing byte strings in constant time, resisting timing side-channel attacks.
murmurhash
Cython bindings for the fast, non-cryptographic MurmurHash2 hashing algorithm
asn1-schema
Declarative TypeScript decorators for defining, parsing, and serializing ASN.1/DER schemas used across X.509, PKCS, and CMS structures.
nkeys
A Rust implementation of NATS nkeys: Ed25519 identity and auth keypairs.
Microsoft Authentication Extensions for Python
Cross-platform encrypted token cache persistence for MSAL Python, backed by DPAPI, Keychain, and libsecret.
sha256
A lightweight Rust crate for one-line SHA-256 digests of strings, bytes, and files
rust-hmac-sha256
A small, self-contained SHA-256, HMAC-SHA256, and HKDF-SHA256 implementation in pure Rust with no_std support.
magic-crypt
AES and DES string, file, and data encryption for Rust with cross-language compatibility.
hyper-native-tls
native-tls-backed HTTPS support for the legacy Hyper 0.10 HTTP client and server in Rust.