Skip to content
JS
Package category

Cryptography and hashing

Hashing, encryption, signing, random values and encoding.

697 packages2 comparisons

Packages compared

697 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
pagecrypt
Easily add client-side password-protection to your Single Page Applications, static websites and HTML files.
1.8k-1%-6 months ago
7.1.0
ESM onlyBundledCryptography and hashing, CLI tools and terminal utilities
phc-bcrypt
Node.JS bcrypt password hashing algorithm following the PHC string format
1.8k-0%-9 months ago
2.0.0
CommonJSNoneCryptography and hashing, Security
chloride
node.js sodium bindings + pure js polyfil
1.8k-25%-5 years ago
2.4.1
CommonJSNoneCryptography and hashing
react-native-themis
Themis React Native is a convenient cryptographic library for data protection
1.8k-26%-5 months ago
0.15.7
-BundledCryptography and hashing, Security
upash
Unified API for password hashing algorithms
1.8k+13%-8 years ago
1.0.2
CommonJSNoneCryptography and hashing, Security
sm-polyfill
SM2/SM3/SM4 polyfill for Node.js 16 and earlier. Provides SM2 signing/verification using sm-crypto when native OpenSSL support is unavailable.
1.8k--2 months ago
1.3.0
CommonJSNoneCryptography and hashing, Polyfills and shims
rev-file
Get the revved file path of a file
1.7k-20%-4 years ago
4.0.0
ESM onlyNoneCaching, Cryptography and hashing
ffwasm
Finite Field Library In Web Assembly
1.7k+49%-6 years ago
0.0.7
CommonJSNoneCryptography and hashing
@phc/argon2
Node.JS Argon2 password hashing algorithm following the PHC string format
1.7k---8 years ago
1.0.9
CommonJSNoneCryptography and hashing, Security
storage-encryption
Encrypt your client storage (available for TS & JS)
1.7k-38%-5 years ago
1.0.16
CommonJSBundledCryptography and hashing, React
@taylorzane/hash-wasm
Lightning fast hash functions for browsers and Node.js using hand-tuned WebAssembly binaries (MD4, MD5, SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, PBKDF2, Argon2, bcrypt, scrypt, Adler-32, CRC32, CRC32C, RIPEMD-160, HMAC, xxHash, SM3, Whirlpool)
1.7k---2 years ago
0.0.11
ESM onlyBundledCryptography and hashing
btp-guard
BTP v5.4.16 The AI Agent Execution Gateway - Sub-35us In-Process Tool Gating, Autonomous Micro-Escrow & SOC 2 Merkle Receipts
1.7k--6 days ago
5.4.16
ESM onlyBundledCryptography and hashing, Security
http-hash
HTTP router based on a strict path tree structure
1.7k+11%-7 years ago
2.0.1
CommonJSNoneCryptography and hashing, Routing
node-binance-api
Binance API for node https://github.com/ccxt/node-binance-api
1.6k-43%-1 month ago
1.0.33
ESM + CommonJSBundledCryptography and hashing
@psifi/sdk-node
PsiFi Node.js SDK - Shared utilities for PsiFi services
1.6k---6 days ago
1.160.1
ESM onlyNoneCryptography and hashing, Payments and commerce
@depay/react-token-image
React component to display token images with fallbacks and unknown state.
1.6k---1 year ago
6.0.0
ESM + CommonJSNoneReact, Cryptography and hashing
@otaxayun/libsignal-node
Open Whisper Systems' libsignal for Node.js
1.6k---11 months ago
2.0.3
CommonJSNoneCryptography and hashing
is-valid-uuid-v4
Checks if the string is valid uuid-v4
1.6k+23%-3 years ago
1.2.3
CommonJSBundledCryptography and hashing
rsa-key
Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.
1.6k-6%-8 years ago
0.0.6
CommonJSNoneCryptography and hashing
@visulima/email
A comprehensive email library with multi-provider support, crypto utilities, and template engines
1.5k---1 day ago
3.0.12
ESM onlyBundledEmail, Templating
pure-md5
A lightweight JavaScript function for hashing messages by the MD5 algorithm
1.5k-35%-2 months ago
1.0.0
ESM + CommonJSBundledCryptography and hashing, TypeScript tooling
gravi
Generates Gravatar URLs using sha256 hashes with support for various options.
1.5k-49%--
1.0.2
ESM + CommonJSBundledCryptography and hashing
iana-hashes
Use the IANA registered hash names with node crypto
1.5k+5%-7 years ago
1.1.0
CommonJSBundledCryptography and hashing
pdfnative-cli
Official CLI for pdfnative — render JSON to PDF (typography engine, 27 Unicode scripts + custom fonts, math, COLRv1 colour emoji, 9 native vector chart types, CMYK and PDF/X-4 print production with bleed/printer marks/colour bars, PDF/A, bookmarks, stream
1.5k--4 days ago
1.5.0
ESM + CommonJSBundledCLI tools and terminal utilities, TypeScript tooling
jose-jwe-jws
Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.
1.5k-21%-6 years ago
0.2.2
CommonJSBundledCryptography and hashing
uuid5
UUID v5 generator (SHA1 hash into 128 bits)
1.5k-51%-9 years ago
1.0.2
CommonJSNoneCryptography and hashing
is-hexdigest
Check if a string is a valid SHA1, MD5 or SHA256 checksum
1.5k-20%-11 years ago
1.0.1
-NoneCryptography and hashing
@push.rocks/smarthash
Cross-environment hash functions (SHA256 and MD5) for Node.js and browsers, with support for strings, streams, and files.
1.5k---1 month ago
3.3.0
ESM onlyNoneCryptography and hashing
nodejs-aes256
This is an easy to use AES256 module for nodejs.
1.5k+7%-10 years ago
1.0.1
CommonJSNoneCryptography and hashing
grunt-hashres
Hashes your js and css files and rename the <script> and <link> declarations that refer to them in your html/php/etc files.
1.5k+21%-12 years ago
0.4.1
CommonJSNoneCryptography and hashing
consistent-hash
js consistent hash ring
1.4k-9%-2 years ago
1.2.2
CommonJSNoneCryptography and hashing
sack.vfs
SACK abstraction library exposed to JS to provide low level system services.
1.4k+34%-13 days ago
1.3.133
ESM + CommonJSNoneFiles and file systems, Cryptography and hashing
blob-to-hash
Calculates a given hash of a given blob
1.4k-0%-7 years ago
0.0.1
CommonJSBundledCryptography and hashing
meteor-random-node
Meteor's Random Package for Straight Node – with built in crypto module
1.4k+6%-6 years ago
2.0.0
CommonJSBundledCryptography and hashing
highwayhash-wasm
HighwayHash WASM bindings for browser and node environments
1.4k+246%-1 year ago
1.2.7
ESM + CommonJSBundledCryptography and hashing
qktool
This is a collection of tools, independent of any other libraries
1.4k+4655%-1 month ago
0.2.14
CommonJSBundledCryptography and hashing, HTTP servers and web frameworks
ncrypt-js
a light weight javascript data encryption and decryption library
1.4k+186%-2 months ago
2.3.0
ESM + CommonJSBundledCryptography and hashing, TypeScript tooling
random-string-alphanumeric-generator
A module that can return various types of random string
1.4k-28%-5 years ago
0.12.2
CommonJSNoneCryptography and hashing
basex-encoder
Encode / decode any base X to and from string or buffer
1.4k+71%-6 years ago
0.0.10
ESM + CommonJSBundledCryptography and hashing
react-native-xxhash
💪 A high-performance React Native library for generating xxHash hashes using C++ and JSI
1.3k+1693%-2 months ago
0.1.10
ESM + CommonJSBundledReact, Cryptography and hashing
secure-pin
A cryptographically secure pin code generator with string support
1.3k-23%-8 years ago
1.0.14
CommonJSBundledCryptography and hashing
@digabi/crypto-utils
Node-based crypto utils for Digabi, written in Typescript
1.3k---1 year ago
1.0.5
CommonJSBundledCryptography and hashing
custom-hash
Custom hash generator (based on MD5 algorithm)
1.3k-61%-10 years ago
0.9.0
CommonJSNoneCryptography and hashing
@cryptography/sha1
High-performance synchronous SHA-1 implementation for JavaScript
1.3k---6 years ago
0.2.0
ESM + CommonJSBundledCryptography and hashing
laravel-mix-versionhash
auto append hash to file name
1.2k-32%-5 years ago
2.0.1
CommonJSNoneCryptography and hashing, Bundlers
@thi.ng/ksuid
Configurable K-sortable unique IDs, ULIDs, binary & base-N encoded, 32/48/64bit time resolutions
1.2k---30 days ago
3.2.127
ESM onlyBundledCryptography and hashing, Database clients and drivers
data-to-hash
Calculates a given hash for given data
1.2k+154%-7 years ago
0.0.1
CommonJSBundledCryptography and hashing
secure-random-octet
Generate a cryptographically secure octet
1.2k+294%-22 days ago
6.0.1
ESM + CommonJSBundledCryptography and hashing
use-hash-param
React hook for handling parameters in URL fragment
1.2k-27%-2 years ago
0.3.1
ESM + CommonJSBundledReact, Cryptography and hashing
secure-random-bytes
Retrieve a secure random byte string of a specified length
1.2k+311%-15 days ago
7.0.2
CommonJSNoneCryptography and hashing

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • pagecryptEasily add client-side password-protection to your Single Page Applications, static websites and HTML files.
  • phc-bcryptNode.JS bcrypt password hashing algorithm following the PHC string format
  • chloridenode.js sodium bindings + pure js polyfil
  • react-native-themisThemis React Native is a convenient cryptographic library for data protection
  • upashUnified API for password hashing algorithms
  • sm-polyfillSM2/SM3/SM4 polyfill for Node.js 16 and earlier. Provides SM2 signing/verification using sm-crypto when native OpenSSL support is unavailable.
  • rev-fileGet the revved file path of a file
  • ffwasmFinite Field Library In Web Assembly
  • @phc/argon2Node.JS Argon2 password hashing algorithm following the PHC string format
  • storage-encryptionEncrypt your client storage (available for TS & JS)
  • @taylorzane/hash-wasmLightning fast hash functions for browsers and Node.js using hand-tuned WebAssembly binaries (MD4, MD5, SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, PBKDF2, Argon2, bcrypt, scrypt, Adler-32, CRC32, CRC32C, RIPEMD-160, HMAC, xxHash, SM3, Whirlpool)
  • btp-guardBTP v5.4.16 The AI Agent Execution Gateway - Sub-35us In-Process Tool Gating, Autonomous Micro-Escrow & SOC 2 Merkle Receipts
  • http-hashHTTP router based on a strict path tree structure
  • node-binance-apiBinance API for node https://github.com/ccxt/node-binance-api
  • @psifi/sdk-nodePsiFi Node.js SDK - Shared utilities for PsiFi services
  • @depay/react-token-imageReact component to display token images with fallbacks and unknown state.
  • @otaxayun/libsignal-nodeOpen Whisper Systems' libsignal for Node.js
  • is-valid-uuid-v4Checks if the string is valid uuid-v4
  • rsa-keyConverts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.
  • @visulima/emailA comprehensive email library with multi-provider support, crypto utilities, and template engines
  • pure-md5A lightweight JavaScript function for hashing messages by the MD5 algorithm
  • graviGenerates Gravatar URLs using sha256 hashes with support for various options.
  • iana-hashesUse the IANA registered hash names with node crypto
  • pdfnative-cliOfficial CLI for pdfnative — render JSON to PDF (typography engine, 27 Unicode scripts + custom fonts, math, COLRv1 colour emoji, 9 native vector chart types, CMYK and PDF/X-4 print production with bleed/printer marks/colour bars, PDF/A, bookmarks, stream
  • jose-jwe-jwsLibrary to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.
  • uuid5UUID v5 generator (SHA1 hash into 128 bits)
  • is-hexdigestCheck if a string is a valid SHA1, MD5 or SHA256 checksum
  • @push.rocks/smarthashCross-environment hash functions (SHA256 and MD5) for Node.js and browsers, with support for strings, streams, and files.
  • nodejs-aes256This is an easy to use AES256 module for nodejs.
  • grunt-hashresHashes your js and css files and rename the <script> and <link> declarations that refer to them in your html/php/etc files.
  • consistent-hashjs consistent hash ring
  • sack.vfsSACK abstraction library exposed to JS to provide low level system services.
  • blob-to-hashCalculates a given hash of a given blob
  • meteor-random-nodeMeteor's Random Package for Straight Node – with built in crypto module
  • highwayhash-wasmHighwayHash WASM bindings for browser and node environments
  • qktoolThis is a collection of tools, independent of any other libraries
  • ncrypt-jsa light weight javascript data encryption and decryption library
  • random-string-alphanumeric-generatorA module that can return various types of random string
  • basex-encoderEncode / decode any base X to and from string or buffer
  • react-native-xxhash💪 A high-performance React Native library for generating xxHash hashes using C++ and JSI
  • secure-pinA cryptographically secure pin code generator with string support
  • @digabi/crypto-utilsNode-based crypto utils for Digabi, written in Typescript
  • custom-hashCustom hash generator (based on MD5 algorithm)
  • @cryptography/sha1High-performance synchronous SHA-1 implementation for JavaScript
  • laravel-mix-versionhashauto append hash to file name
  • @thi.ng/ksuidConfigurable K-sortable unique IDs, ULIDs, binary & base-N encoded, 32/48/64bit time resolutions
  • data-to-hashCalculates a given hash for given data
  • secure-random-octetGenerate a cryptographically secure octet
  • use-hash-paramReact hook for handling parameters in URL fragment
  • secure-random-bytesRetrieve a secure random byte string of a specified length