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
macaroons.js
Javascript implementation of Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud.
3.5k+1355%-5 years ago
0.3.9
CommonJSNoneCryptography and hashing
@integraledger/lcp-kernel
ATR assembly and hashing — the smallest thing every other LCP package agrees on.
3.5k---4 days ago
0.20.1
ESM onlyBundledCryptography and hashing
base64-image-loader
base64 image loader for webpack
3.5k+18%-8 years ago
1.2.1
CommonJSNoneCryptography and hashing
js-x509-utils
Universal Module of X.509 Certificate Utilities in JavaScript
3.5k-62%-2 years ago
1.0.7
CommonJSBundledCryptography and hashing
virgil-sdk
Virgil Security Services SDK
3.5k-20%-3 years ago
6.2.0
ESM + CommonJSBundledCryptography and hashing, Security
polyfill-crypto-methods
Polyfill for Crypto instance methods of Web Crypto API
3.5k+345%-1 year ago
1.0.0
ESM + CommonJSBundledCryptography and hashing, Polyfills and shims
@transcend-io/penumbra
Crypto streams for the browser.
3.4k---9 months ago
8.1.4
ESM + CommonJSBundledCryptography and hashing
nanoid-esm
A tiny (141 bytes), secure URL-friendly unique string ID generator
3.3k+31%--
2.1.0-esm.4
ESM + CommonJSNoneCryptography and hashing
gulp-cache-bust
Append a query string to your assets to bust that cache!
3.3k+32%-7 years ago
1.4.1
-NoneCaching, Cryptography and hashing
crypto-sha
Isomorphic wrapper for the SHA family of hash functions.
3.3k+49%-1 year ago
2.1.1
ESM onlyBundledCryptography and hashing
crypto-random-uint8
Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
3.3k+52%-1 year ago
2.0.1
ESM onlyBundledCryptography and hashing
crypto-pbkdf2-hmac
Isomorphic wrapper for the PBKDF2-HMAC key derivation function.
3.3k+77%-1 year ago
2.2.2
ESM onlyBundledCryptography and hashing
crypto-puzzle
A time-lock puzzle generator
3.3k+72%-1 year ago
5.0.3
ESM onlyBundledCryptography and hashing
postcss-hash
PostCSS plugin to replace output file names with HASH algorithms (md5, sha256, sha512, etc) and string length of your choice - for cache busting
3.3k-63%-5 years ago
3.0.0
-NoneCryptography and hashing, CSS-in-JS and styling
crypto-random-prime
Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.
3.2k+63%--
1.0.1
ESM onlyBundledCryptography and hashing
crypto-miller-rabin
Implementation of the Miller-Rabin primality test.
3.2k+64%-1 year ago
1.0.1
ESM onlyBundledCryptography and hashing, Testing
crypto-random-in-range
Pick a cryptographically-random integer within a range.
3.2k+79%-1 year ago
2.0.1
ESM onlyBundledCryptography and hashing
pathhash
get the hash of a file at a given path
3.1k+29%-13 years ago
1.0.0
CommonJSNoneCryptography and hashing
pi-hashline-edit-pro
Hash-anchored read/replace/insert/grep tools for pi-coding-agent. Every line gets a unique 4-char tokenizer-friendly anchor that stays stable across edits; stale or ambiguous anchors are rejected, never fuzzy-matched. Undo persists across restarts.
3.1k--1 day ago
4.4.1
ESM onlyNoneCryptography and hashing
react-native-device-crypto
Cryptographic operations inside the secure hardware for React Native
3.1k+251%-4 years ago
0.1.7
ESM + CommonJSBundledCryptography and hashing, React
md5-hash
MD5 hashing for string
3.1k+98%-9 years ago
1.0.1
CommonJSNoneCryptography and hashing
crypto-random-bigint
Generate a cryptographically-random BigInt with the given number of bits of entropy.
3.1k-5%-1 year ago
2.1.1
ESM onlyBundledCryptography and hashing, Numbers and maths
@zulze12/meteor-random
Meteor's Random Package for Straight Node
3.1k---6 years ago
0.0.3
CommonJSNoneCryptography and hashing
@wavesenterprise/crypto-gost-js
Pure Javascript implementation of WebCrypto API interfaces and Public Key Infrastructure for GOST algorithms (Russian Cryptographic Standards)
3k---5 years ago
2.1.0-RC1
CommonJSNoneCryptography and hashing
crypto-pro
API для взаимодействия с КриптоПро
3k-13%-2 years ago
2.5.2
CommonJSBundledCryptography and hashing
@zitterorg/magni-eos
[![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
3k---2 years ago
5.8.60
CommonJSNoneCLI tools and terminal utilities, Testing
hash-generator
Generates random hashes
3k+149%-10 years ago
0.1.0
CommonJSNoneCryptography and hashing
skeleton-rendezvous
Module for performing fast rendezvous (HRW) hashing with skeleton - Can efficiently handle a large number of machines/sites.
3k+67%-1 month ago
2.0.1
CommonJSNoneCryptography and hashing
lavinhash
High-performance fuzzy hashing library implementing the DLAH (Dual-Layer Adaptive Hashing) algorithm
3k--3 months ago
2.0.0
ESM onlyBundledCryptography and hashing, React
ion-hash-js
JavaScript implementation of Amazon Ion Hash
3k-20%-2 years ago
2.1.0
CommonJSBundledCryptography and hashing
@reclaimprotocol/tls
TLS 1.2/1.3 for any JavaScript Environment
2.9k---26 days ago
0.1.4
ESM onlyBundledCryptography and hashing
react-native-simple-crypto
A simpler React-Native crypto library
2.9k-30%-7 months ago
0.3.0
CommonJSBundledCryptography and hashing, React
pop-hash
A hash function for arbitrary objects
2.9k-70%-11 years ago
1.0.1
CommonJSNoneCryptography and hashing
@cfworker/jwt
Tiny lib for decoding JWTs and verifying signatures, using native crypto APIs
2.9k---1 year ago
7.0.4
ESM + CommonJSBundledCloud SDKs, Authentication and authorisation
@openpgp/tweetnacl
Port of TweetNaCl cryptographic library to JavaScript
2.9k---1 year ago
1.0.4-2
ESM onlyBundledCryptography and hashing
blake3-jit
The pure JavaScript BLAKE3 implementation with runtime WASM SIMD
2.9k--5 months ago
1.1.0
ESM onlyBundledCryptography and hashing
material-color-hash
Hash strings to Material UI colors
2.8k-23%-7 years ago
0.1.6
CommonJSNoneCryptography and hashing
virgil-crypto
Virgil JavaScript Crypto Library is a high-level cryptographic library that allows you to perform all necessary operations for secure storing and transferring data and everything required to become HIPAA and GDPR compliant.
2.8k-17%-2 years ago
5.1.2
ESM + CommonJSBundledCryptography and hashing
mongoose-valid8
Additional mongoose schema validations
2.8k+15%-5 years ago
1.7.1
ESM + CommonJSNoneCryptography and hashing
laravel-mix-make-file-hash
Convert the default Laravel Mix querystring hashing to filename hashing.
2.8k-57%-5 years ago
2.2.0
CommonJSNoneCryptography and hashing
tweetnacl-auth
HMAC-SHA-512-256 based on TweetNaCl.js
2.8k+38%-8 years ago
1.0.1
CommonJSNoneAuthentication and authorisation, Cryptography and hashing
pdfnative
Zero-dependency native PDF library: generate, parse, merge/split, extract text with positions, fill & flatten AcroForms, decrypt and re-encrypt (RC4, AES-128/256), and draw native vector charts (stacked/area/scatter, log & time axes). 27 scripts (Arabic,
2.7k--10 days ago
1.8.0
ESM + CommonJSBundledCryptography and hashing, PDF and documents
@based/hash
Fast, low collision hashing based on djb2
2.6k---6 months ago
1.1.6
ESM onlyBundledCryptography and hashing
sha2
A Javascript implementation of the SHA-2 cryptographic hash function family.
2.6k+80%-8 years ago
1.0.2
CommonJSNoneCryptography and hashing
pdf-lib-plus-encrypt
Create and modify and encrypt PDF files with JavaScript
2.5k+93%-3 years ago
1.1.0
ESM + CommonJSBundledPDF and documents, Cryptography and hashing
ursa
RSA public/private key OpenSSL bindings for node and io.js
2.5k-29%-10 years ago
0.9.4
CommonJSNoneCryptography and hashing
gulp-hash-filename
gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.
2.5k-56%-3 years ago
4.1.0
CommonJSNoneCryptography and hashing
js-scrypt
JS Implementation of SCrypt for use with NodeJS
2.5k+63%-12 years ago
0.2.0
CommonJSNoneCryptography and hashing, Authentication and authorisation
sails-hook-organics
Standard library for Node/Sails applications. Hand-picked and maintained by the Sails.js core team.
2.4k+33%-5 months ago
3.0.1
CommonJSNoneEmail, Cryptography and hashing
quicvarint
Variable-Length Integer Encoding defined by RFC 9000
2.4k+833%-1 month ago
0.2.1
ESM + CommonJSBundledCryptography and hashing, TypeScript tooling

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.

  • macaroons.jsJavascript implementation of Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud.
  • @integraledger/lcp-kernelATR assembly and hashing — the smallest thing every other LCP package agrees on.
  • base64-image-loaderbase64 image loader for webpack
  • js-x509-utilsUniversal Module of X.509 Certificate Utilities in JavaScript
  • virgil-sdkVirgil Security Services SDK
  • polyfill-crypto-methodsPolyfill for Crypto instance methods of Web Crypto API
  • @transcend-io/penumbraCrypto streams for the browser.
  • nanoid-esmA tiny (141 bytes), secure URL-friendly unique string ID generator
  • gulp-cache-bustAppend a query string to your assets to bust that cache!
  • crypto-shaIsomorphic wrapper for the SHA family of hash functions.
  • crypto-random-uint8Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
  • crypto-pbkdf2-hmacIsomorphic wrapper for the PBKDF2-HMAC key derivation function.
  • crypto-puzzleA time-lock puzzle generator
  • postcss-hashPostCSS plugin to replace output file names with HASH algorithms (md5, sha256, sha512, etc) and string length of your choice - for cache busting
  • crypto-random-primeGenerate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.
  • crypto-miller-rabinImplementation of the Miller-Rabin primality test.
  • crypto-random-in-rangePick a cryptographically-random integer within a range.
  • pathhashget the hash of a file at a given path
  • pi-hashline-edit-proHash-anchored read/replace/insert/grep tools for pi-coding-agent. Every line gets a unique 4-char tokenizer-friendly anchor that stays stable across edits; stale or ambiguous anchors are rejected, never fuzzy-matched. Undo persists across restarts.
  • react-native-device-cryptoCryptographic operations inside the secure hardware for React Native
  • md5-hashMD5 hashing for string
  • crypto-random-bigintGenerate a cryptographically-random BigInt with the given number of bits of entropy.
  • @zulze12/meteor-randomMeteor's Random Package for Straight Node
  • @wavesenterprise/crypto-gost-jsPure Javascript implementation of WebCrypto API interfaces and Public Key Infrastructure for GOST algorithms (Russian Cryptographic Standards)
  • crypto-proAPI для взаимодействия с КриптоПро
  • @zitterorg/magni-eos[![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
  • hash-generatorGenerates random hashes
  • skeleton-rendezvousModule for performing fast rendezvous (HRW) hashing with skeleton - Can efficiently handle a large number of machines/sites.
  • lavinhashHigh-performance fuzzy hashing library implementing the DLAH (Dual-Layer Adaptive Hashing) algorithm
  • ion-hash-jsJavaScript implementation of Amazon Ion Hash
  • @reclaimprotocol/tlsTLS 1.2/1.3 for any JavaScript Environment
  • react-native-simple-cryptoA simpler React-Native crypto library
  • pop-hashA hash function for arbitrary objects
  • @cfworker/jwtTiny lib for decoding JWTs and verifying signatures, using native crypto APIs
  • @openpgp/tweetnaclPort of TweetNaCl cryptographic library to JavaScript
  • blake3-jitThe pure JavaScript BLAKE3 implementation with runtime WASM SIMD
  • material-color-hashHash strings to Material UI colors
  • virgil-cryptoVirgil JavaScript Crypto Library is a high-level cryptographic library that allows you to perform all necessary operations for secure storing and transferring data and everything required to become HIPAA and GDPR compliant.
  • mongoose-valid8Additional mongoose schema validations
  • laravel-mix-make-file-hashConvert the default Laravel Mix querystring hashing to filename hashing.
  • tweetnacl-authHMAC-SHA-512-256 based on TweetNaCl.js
  • pdfnativeZero-dependency native PDF library: generate, parse, merge/split, extract text with positions, fill & flatten AcroForms, decrypt and re-encrypt (RC4, AES-128/256), and draw native vector charts (stacked/area/scatter, log & time axes). 27 scripts (Arabic,
  • @based/hashFast, low collision hashing based on djb2
  • sha2A Javascript implementation of the SHA-2 cryptographic hash function family.
  • pdf-lib-plus-encryptCreate and modify and encrypt PDF files with JavaScript
  • ursaRSA public/private key OpenSSL bindings for node and io.js
  • gulp-hash-filenamegulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.
  • js-scryptJS Implementation of SCrypt for use with NodeJS
  • sails-hook-organicsStandard library for Node/Sails applications. Hand-picked and maintained by the Sails.js core team.
  • quicvarintVariable-Length Integer Encoding defined by RFC 9000