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
bcrypt.js
A zero-dependency, pure JavaScript implementation of bcrypt for hashing and verifying passwords in Node.js and the browser.
bcrypt
Battle-tested password hashing for Node.js using the adaptive bcrypt algorithm.
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.
speakeasy
A Node.js library for generating and verifying RFC 4226 (HOTP) and RFC 6238 (TOTP) one-time passcodes for two-factor authentication.
totp-rs
RFC 6238-compliant TOTP two-factor authentication for Rust
openidconnect-rs
A strongly-typed, extensible Rust implementation of the OpenID Connect protocol for building relying-party authentication and OIDC provider integrations.
totp-generator
Generate TOTP one-time passcodes from a secret key using the native Web Crypto API, with a pure-JS fallback.
hawk
JavaScript implementation of the Hawk HTTP holder-of-key authentication scheme
webauthn-rs
A Rust implementation of the WebAuthn Relying Party protocol for passkey and passwordless authentication.
opaque-ke
Rust implementation of the OPAQUE augmented password-authenticated key exchange protocol
jwt-simple
A fast, safe-by-default Rust library for creating and verifying JWT and JWE tokens across every major signing and encryption algorithm.
Biscuit-Auth
Rust implementation of Biscuit — a decentralized authorization token with offline attenuation and a Datalog policy language.
spake2
Pure Rust implementation of the SPAKE2 password-authenticated key exchange protocol using Curve25519.
yubico-rs
A Rust client for Yubico's OTP validation API, letting apps verify YubiKey one-time passwords over HTTP.
totp-lite
A minimal, RFC 6238-compliant TOTP library for Rust with pluggable SHA-1, SHA-256, and SHA-512 hashing.