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
js-crypto-key-utils
Universal Module for Cryptographic Key Utilities in JavaScript, including PEM-JWK converters
4.8k-60%-2 years ago
1.0.7
CommonJSBundledCryptography and hashing
ecma-nacl
JavaScript (ECMAScript) version of NaCl Cryptographic library
4.8k+616%-1 year ago
2.5.3
CommonJSBundledCryptography and hashing
secret-utils
Common `crypto` snippets (generate random bytes, salt, hash password, etc)
4.8k+108%-11 years ago
2.0.0
CommonJSNoneCryptography and hashing
@coinbase/agentkit
Coinbase AgentKit core primitives
4.7k---9 months ago
0.10.4
CommonJSBundledCryptography and hashing, TypeScript tooling
@soatok/elliptic-to-noble
Replace npm elliptic with noble-curves, including all dependencies.
4.7k---10 months ago
9999.0.0
CommonJSBundledCryptography and hashing, Polyfills and shims
@chainsafe/hashtree-linux-x64-gnu
This is the **x86_64-unknown-linux-gnu** binary for `@chainsafe/hashtree`
4.7k---1 year ago
1.0.2
CommonJSNoneCryptography and hashing
secure-random-string
Generates a secure random string with a given length
4.6k+18%-1 year ago
1.1.4
CommonJSNoneCryptography and hashing
libp2p-secio
Secio implementation in JavaScript
4.5k+91%-6 years ago
0.13.1
CommonJSNoneCryptography and hashing
webpack-plugin-hash-output
Plugin for Webpack that uses the final output to compute the hash of an asset
4.5k+1%-7 years ago
3.2.1
CommonJSNoneCryptography and hashing, Bundler plugins and loaders
node-jsencrypt
A port of JSEncrypt to NodeJS.
4.4k-27%-8 years ago
1.0.0
CommonJSNoneCryptography and hashing
@tanker/file-reader
A promisified FileReader for browsers
4.4k---1 year ago
4.3.0
ESM + CommonJSBundledCryptography and hashing, Polyfills and shims
js-md2
A simple MD2 hash function for JavaScript supports UTF-8 encoding.
4.4k+42%-9 years ago
0.2.2
CommonJSNoneCryptography and hashing
xkcd-passphrase
Passphrase generator inspired by http://xkcd.com/936
4.4k+561%-3 years ago
3.3.10
CommonJSBundledCryptography and hashing
angular-md5
A md5 crypto component for Angular.js
4.3k-22%-10 years ago
0.1.10
CommonJSNoneCryptography and hashing, Angular
@pdfsmaller/pdf-encrypt
Full-featured PDF encryption with AES-256 and RC4 128-bit support. Built for browsers, Node.js, and edge environments. Powers PDFSmaller.com's encryption.
4.3k---1 month ago
1.2.0
ESM + CommonJSBundledCryptography and hashing, PDF and documents
sha1-uint8array
Fast SHA-1 digest hash based on Uint8Array, pure JavaScript.
4.3k+52%-22 days ago
0.12.1
ESM + CommonJSBundledCryptography and hashing
@dramaorg/delectus-culpa-reprehenderit
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
4.3k---2 years ago
3.5.94
CommonJSNoneCLI tools and terminal utilities, Testing
prisma-prefixed-ids
A Prisma extension that adds prefixed IDs to your models
4.2k+2132%-6 months ago
2.1.0
ESM + CommonJSBundledCryptography and hashing, ORMs and query builders
incoming-message-hash
Generate a one-way hash from an http.IncomingMessage
4.2k+56%-4 years ago
5.0.0
ESM onlyNoneCryptography and hashing
react-native-random-uuid
A small implementation of `crypto.randomUUID` for React Native.
4.2k+230%-3 years ago
0.1.4
-NoneCryptography and hashing, React
@dcl/hashing
Hashing functions to calculate Decentraland Content Identifiers
4.2k---4 months ago
1.2.0
ESM + CommonJSBundledCryptography and hashing
js-base64-file
load fetch convert and save local and remote files and images to base64 in js
4.1k-53%-5 years ago
2.0.3
ESM onlyNoneCryptography and hashing
hash-runner
Executes a command when a change is detected in specified files. Not an active file watcher.
4.1k-65%-1 year ago
4.0.0
ESM + CommonJSBundledFiles and file systems, Cryptography and hashing
node-md6
MD6 Implementation in Node
4k+494%-9 years ago
0.1.0
CommonJSNoneCryptography and hashing
entropy-string
Efficiently generate cryptographically strong random strings of specified entropy from various character sets.
4k+82%-7 years ago
4.2.0
CommonJSNoneCryptography and hashing, Security
ctph.js
JavaScript's library for calculating context triggered piecewise hash(CTPH) also called fuzzy hashing.
4k+478%-10 years ago
0.0.5
CommonJSNoneCryptography and hashing
uuid-hash
Es6 class that generates RFC-compliant UUID v5.
4k+2064%-8 days ago
2.31.0
ESM + CommonJSBundledCryptography and hashing
ts-chacha20
Typescript ChaCha20 stream cipher
4k+189%-4 years ago
1.2.0
CommonJSBundledCryptography and hashing
@ctrlpanel/pbkdf2
Small package exporting a PBKDF2 function that works both in Node.js and in browsers.
4k---8 years ago
1.0.0
CommonJSNoneCryptography and hashing
@oxy.so/protocol
Oxy Protocol — the app-agnostic base substrate: signed-record envelope, canonical JSON, signature/verification, and platform crypto. Reused by any Oxy app to decentralize its own content.
4k---5 days ago
1.1.0
ESM + CommonJSBundledCryptography and hashing
js-crypto-rsa
Universal Module for RSA Cryptography (RSA-OAEP and RSASSA-PSS/PKCS1-V1_5) in JavaScript
3.9k-60%-2 years ago
1.0.7
CommonJSBundledCryptography and hashing
crypto-api
Hashing and encrypting library with no depedencies
3.9k+274%-7 years ago
0.8.5
CommonJSNoneCryptography and hashing
etag-hash
Es6 class that generates ETag using the same algorithm as S3 via MD5 sum.
3.9k+2085%-8 days ago
2.32.0
ESM + CommonJSBundledCryptography and hashing
@demox-labs/aleo-hd-key
BIP-0032 like derivation for Aleo
3.9k---3 years ago
0.0.1
CommonJSBundledCryptography and hashing
vue-cryptojs
A small wrapper for integrating crypto-js into VueJS
3.9k+26%-6 months ago
2.4.8
CommonJSBundledCryptography and hashing, Vue
wasm-themis
Themis is a convenient cryptographic library for data protection.
3.9k+2020%-3 years ago
0.15.0
ESM + CommonJSBundledCryptography and hashing, Security
argon2-wasm-edge
Lightning fast Argon2 implementation runnable on Vercel Edge and CF Workers
3.8k+32106%-2 years ago
1.0.23
ESM + CommonJSBundledCryptography and hashing
salt-sha256
A library to encrypt a string using SHA256 with a salt
3.8k+36%-4 years ago
1.0.1
CommonJSNoneCryptography and hashing
js-crypto-ec
Universal Module for Elliptic Curve Cryptography (ECDSA and ECDH) in JavaScript
3.8k-54%-2 years ago
1.0.7
CommonJSBundledCryptography and hashing
node-seal
Homomorphic Encryption for TypeScript or JavaScript using Microsoft SEAL
3.7k+192%-10 months ago
7.0.0
ESM onlyBundledCryptography and hashing
keypairs
Lightweight RSA/ECDSA keypair generation and JWK <-> PEM using node's native RSA and ECDSA support
3.7k-60%-7 years ago
1.2.14
CommonJSNoneCryptography and hashing
ecdh
Native node.js module for ECDH and ECDSA
3.7k+939%-3 years ago
0.2.0
CommonJSNoneCryptography and hashing
webcrypto-liner
A WebCrypto polyfill that "smooths out" the rough-edges in existing User Agent implementations.
3.7k+97%-2 years ago
1.4.3
ESM + CommonJSBundledCryptography and hashing, Polyfills and shims
hashcode
hashcode implementation by Stuart Bannerman (https://github.com/stuartbannerman/hashcode) packaged as npm-module.
3.6k-11%-12 years ago
1.0.3
CommonJSNoneCryptography and hashing
react-native-hash
A hashing library for react-native
3.6k+48%-4 years ago
3.0.3
CommonJSBundledCryptography and hashing, React
uid-generator
Generates cryptographically strong pseudo-random UIDs with custom size and base-encoding
3.6k-19%-7 years ago
2.0.0
CommonJSNoneCryptography and hashing
@protontech/openpgp
OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.
3.6k---1 month ago
6.3.1
ESM + CommonJSBundledCryptography and hashing
@ronomon/crypto-async
Fast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.
3.5k---7 years ago
5.0.1
CommonJSNoneCryptography and hashing
phc-argon2
Node.JS Argon2 password hashing algorithm following the PHC string format
3.5k-5%-3 years ago
1.1.4
CommonJSNoneCryptography and hashing, Security
bcryptjs-react
Webpack v5 - Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.
3.5k-17%-4 years ago
2.4.6
CommonJSBundledCryptography and hashing, React

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.

  • js-crypto-key-utilsUniversal Module for Cryptographic Key Utilities in JavaScript, including PEM-JWK converters
  • ecma-naclJavaScript (ECMAScript) version of NaCl Cryptographic library
  • secret-utilsCommon `crypto` snippets (generate random bytes, salt, hash password, etc)
  • @coinbase/agentkitCoinbase AgentKit core primitives
  • @soatok/elliptic-to-nobleReplace npm elliptic with noble-curves, including all dependencies.
  • @chainsafe/hashtree-linux-x64-gnuThis is the **x86_64-unknown-linux-gnu** binary for `@chainsafe/hashtree`
  • secure-random-stringGenerates a secure random string with a given length
  • libp2p-secioSecio implementation in JavaScript
  • webpack-plugin-hash-outputPlugin for Webpack that uses the final output to compute the hash of an asset
  • node-jsencryptA port of JSEncrypt to NodeJS.
  • @tanker/file-readerA promisified FileReader for browsers
  • js-md2A simple MD2 hash function for JavaScript supports UTF-8 encoding.
  • xkcd-passphrasePassphrase generator inspired by http://xkcd.com/936
  • angular-md5A md5 crypto component for Angular.js
  • @pdfsmaller/pdf-encryptFull-featured PDF encryption with AES-256 and RC4 128-bit support. Built for browsers, Node.js, and edge environments. Powers PDFSmaller.com's encryption.
  • sha1-uint8arrayFast SHA-1 digest hash based on Uint8Array, pure JavaScript.
  • @dramaorg/delectus-culpa-reprehenderit[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
  • prisma-prefixed-idsA Prisma extension that adds prefixed IDs to your models
  • incoming-message-hashGenerate a one-way hash from an http.IncomingMessage
  • react-native-random-uuidA small implementation of `crypto.randomUUID` for React Native.
  • @dcl/hashingHashing functions to calculate Decentraland Content Identifiers
  • js-base64-fileload fetch convert and save local and remote files and images to base64 in js
  • hash-runnerExecutes a command when a change is detected in specified files. Not an active file watcher.
  • node-md6MD6 Implementation in Node
  • entropy-stringEfficiently generate cryptographically strong random strings of specified entropy from various character sets.
  • ctph.jsJavaScript's library for calculating context triggered piecewise hash(CTPH) also called fuzzy hashing.
  • uuid-hashEs6 class that generates RFC-compliant UUID v5.
  • ts-chacha20Typescript ChaCha20 stream cipher
  • @ctrlpanel/pbkdf2Small package exporting a PBKDF2 function that works both in Node.js and in browsers.
  • @oxy.so/protocolOxy Protocol — the app-agnostic base substrate: signed-record envelope, canonical JSON, signature/verification, and platform crypto. Reused by any Oxy app to decentralize its own content.
  • js-crypto-rsaUniversal Module for RSA Cryptography (RSA-OAEP and RSASSA-PSS/PKCS1-V1_5) in JavaScript
  • crypto-apiHashing and encrypting library with no depedencies
  • etag-hashEs6 class that generates ETag using the same algorithm as S3 via MD5 sum.
  • @demox-labs/aleo-hd-keyBIP-0032 like derivation for Aleo
  • vue-cryptojsA small wrapper for integrating crypto-js into VueJS
  • wasm-themisThemis is a convenient cryptographic library for data protection.
  • argon2-wasm-edgeLightning fast Argon2 implementation runnable on Vercel Edge and CF Workers
  • salt-sha256A library to encrypt a string using SHA256 with a salt
  • js-crypto-ecUniversal Module for Elliptic Curve Cryptography (ECDSA and ECDH) in JavaScript
  • node-sealHomomorphic Encryption for TypeScript or JavaScript using Microsoft SEAL
  • keypairsLightweight RSA/ECDSA keypair generation and JWK <-> PEM using node's native RSA and ECDSA support
  • ecdhNative node.js module for ECDH and ECDSA
  • webcrypto-linerA WebCrypto polyfill that "smooths out" the rough-edges in existing User Agent implementations.
  • hashcodehashcode implementation by Stuart Bannerman (https://github.com/stuartbannerman/hashcode) packaged as npm-module.
  • react-native-hashA hashing library for react-native
  • uid-generatorGenerates cryptographically strong pseudo-random UIDs with custom size and base-encoding
  • @protontech/openpgpOpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.
  • @ronomon/crypto-asyncFast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.
  • phc-argon2Node.JS Argon2 password hashing algorithm following the PHC string format
  • bcryptjs-reactWebpack v5 - Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.