Package category
Cryptography and hashing
Hashing, encryption, signing, random values and encoding.
697 packages2 comparisons
Packages compared
697 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| @miracl/crypto-js Crypto Library in JavaScript | 2.4k | - | - | - | 4 years ago 4.0.0 | ESM only | None | Cryptography and hashing |
| eslint-plugin-node-security ESLint plugin for Node.js security — detects command injection, path traversal, SSRF, zip slip, and weak crypto (MD5/SHA-1, ECB, static IV) in fs, child_process, vm, and crypto. | 2.4k | - | - | today 5.6.8 | CommonJS | Bundled | Linting and formatting, Node.js utilities | |
| verifiablejs WebAssembly bindings for the Parity `verifiable` crate | 2.4k | - | - | 24 days ago 1.6.0 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| iocane Textual encryption library | 2.4k | +39% | - | 2 years ago 5.2.0 | CommonJS | Bundled | Cryptography and hashing | |
| @phc/pbkdf2 Node.JS PBKDF2 password hashing algorithm following the PHC string format | 2.3k | - | - | - | 8 years ago 1.1.14 | CommonJS | None | Cryptography and hashing, Security |
| @digitalcredentials/keypair Cryptographic key pair data model in Javascript/Typescript, for Node.js, browsers, and React Native. Useful for Verifiable Credentials, DIDs (Decentralized Identifiers), and other uses of Data Integrity. | 2.3k | - | - | - | 11 months ago 3.0.0 | ESM only | Bundled | Cryptography and hashing, React |
| sodium Lib Sodium port for node.js | 2.3k | +47% | - | 7 years ago 3.0.2 | CommonJS | None | Cryptography and hashing | |
| @countermeasure-platform/web-components Shared web components for CounterMeasure applications - consolidates common frontend functionality across projects. | 2.3k | - | - | - | 2 months ago 1.3.9 | ESM only | Bundled | Cryptography and hashing, Rich text and code editors |
| @zk-kit/poseidon-cipher Poseidon encryption and decryption in TypeScript. | 2.3k | - | - | - | 2 years ago 0.3.2 | ESM + CommonJS | Bundled | Cryptography and hashing, TypeScript tooling |
| @venizia/ignis-helpers Production-ready TypeScript utility library: pluggable logging (winston or pino behind one ILogger contract), Redis single/cluster/sentinel with pub/sub, BullMQ/MQTT/Kafka message queues, MinIO/Disk/Bun-S3 object storage, AES-256/RSA/ECDH cryptography, Sn | 2.2k | - | - | - | 1 day ago 0.2.0 | ESM + CommonJS | Bundled | Cryptography and hashing, Logging |
| @gjsify/webcrypto W3C WebCrypto API (SubtleCrypto) for GJS using @gjsify/crypto primitives | 2.2k | - | - | - | 1 day ago 0.52.0 | ESM only | Bundled | Cryptography and hashing |
| @gjsify/crypto Node.js crypto module for Gjs | 2.2k | - | - | - | 1 day ago 0.52.0 | ESM only | Bundled | Cryptography and hashing, Node.js utilities |
| micro-rsa-dsa-dh Minimal implementation of older cryptography algorithms: RSA, DSA, DH, ElGamal | 2.2k | -46% | - | 27 days ago 0.4.0 | ESM only | Bundled | Cryptography and hashing | |
| @taceo/poseidon2 Poseidon2 hash function over the BN254 scalar field (state sizes t=2,3,4,8,12,16) | 2.2k | - | - | - | 6 months ago 0.2.0 | ESM + CommonJS | Bundled | Cryptography and hashing |
| oakscriptjs PineScript v6 compatible technical analysis library for JavaScript/TypeScript | 2.2k | - | - | 2 months ago 0.5.0 | ESM + CommonJS | Bundled | Charts and data visualisation, Cryptography and hashing | |
| @zondax/filecoin-signing-tools Filecoin Signing Tools | 2.2k | - | - | - | 3 years ago 2.4.3 | ESM + CommonJS | Bundled | Cryptography and hashing |
| react-native-bcrypt Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'. | 2.2k | -39% | - | 10 years ago 2.4.0 | CommonJS | None | Cryptography and hashing, Authentication and authorisation | |
| immudb-node Node.js SDK for immudb written in TypeScript | 2.1k | +176% | - | 4 years ago 1.1.1 | CommonJS | Bundled | Cryptography and hashing, Node.js utilities | |
| @stainless-code/persist Hydration-aware persistence for any reactive store — zero-dep persistSource core; codecs, backends, cross-tab transport, source + framework hydration adapters ship as opt-in recipes | 2.1k | - | - | - | 2 months ago 0.4.1 | ESM only | Bundled | TypeScript tooling, Cryptography and hashing |
| @taceo/oprf-core Threshold OPRF client core: BabyJubJub, hash-to-curve, Chaum-Pedersen ZKP, FROST-style distributed proofs | 2.1k | - | - | - | 6 months ago 0.4.0 | ESM + CommonJS | Bundled | Cryptography and hashing |
| @dashevo/bls The most advanced BLS library for JavaScript | 2.1k | - | - | - | 11 months ago 1.3.6 | CommonJS | Bundled | Cryptography and hashing |
| hashr Simple module for simplifying hashing of values | 2.1k | -13% | - | 12 years ago 1.0.2 | CommonJS | None | Cryptography and hashing | |
| hash Safely use a JavaScript object as hash | 2.1k | -23% | - | 8 years ago 0.2.1 | - | None | Cryptography and hashing | |
| random-seed-generator Random generator for strings, secrets and numbers – with built in crypto module and seed generation for predictable outputs | 2.1k | +13% | - | 7 years ago 0.0.7 | CommonJS | None | Cryptography and hashing | |
| phpass Verify phpass portable hashes and bcrypt passwords in Node.js, with an explicit migration path for legacy node-phpass hashes. | 2.1k | +86% | - | 14 days ago 1.0.0 | CommonJS | Bundled | Cryptography and hashing, Authentication and authorisation | |
| sni Get the Server Name Indication of a raw TLS stream | 2k | -33% | - | 10 years ago 1.0.0 | CommonJS | None | Cryptography and hashing | |
| murmurhash-wasm MurmurHash in WASM for Node.js and the browser | 2k | -9% | - | 4 years ago 1.3.0 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| @levvicode/libsignal-node Open Whisper Systems' libsignal for Node.js | 2k | - | - | - | 2 months ago 1.0.0 | CommonJS | None | Cryptography and hashing |
| node-php-password A node compatibility layer to verify and hash php compatible password hashes | 2k | +24% | - | 9 years ago 0.1.2 | CommonJS | None | Cryptography and hashing | |
| @ryanbekhen/cryptkhen Simple security signature | 2k | - | - | - | 10 days ago 3.2.1 | CommonJS | Bundled | Cryptography and hashing |
| @begin/hashid Generate ids from numbers | 2k | - | - | - | 6 years ago 1.0.0 | - | None | Cryptography and hashing |
| openssl-browser OpenSSL in the Browser and Node.js through WebAssembly, with ESM and UMD entrypoints. | 2k | - | - | 2 months ago 2.1.0 | ESM + CommonJS | None | Cryptography and hashing | |
| sjcl-aws Stanford Javascript Crypto Library | 2k | +4% | - | 8 years ago 1.0.8 | CommonJS | None | Cryptography and hashing | |
| jwt-js-decode Decode, sign/resign or verify JSON Web Tokens (JWT). Works in majority of modern browsers, Node.js and other JavaScript runtimes. | 2k | -20% | - | 2 years ago 1.9.0 | ESM + CommonJS | Bundled | Authentication and authorisation, TypeScript tooling | |
| secure-random-uniform Generate secure, random, uniform integers, compensating for modulo bias | 2k | +1358% | - | 6 years ago 4.0.0 | CommonJS | None | Cryptography and hashing | |
| secure-shuffle Shuffle an array using secure-random-uniform as the RNG | 2k | +1098% | - | 6 years ago 2.0.0 | CommonJS | None | Cryptography and hashing | |
| secure-sample Secure, sequential (n, N) sampling without replacement | 2k | +1464% | - | 6 years ago 2.0.0 | CommonJS | None | Cryptography and hashing | |
| unixpass Native implementation of Unix compatible DES/MD5/SHA256/SHA512 password hashing. | 2k | +373% | - | 4 years ago 3.0.1 | CommonJS | None | Cryptography and hashing | |
| @comunica/actor-hash-bindings-sha1 A hash bindings actor that provides the SHA1 function | 1.9k | - | - | - | 1 year ago 3.3.0 | CommonJS | Bundled | Cryptography and hashing, GraphQL |
| niceware Utility for generating memorable passwords and converting random bytes into human-readable phrases | 1.9k | -26% | - | 4 years ago 4.0.0 | CommonJS | None | Cryptography and hashing | |
| simple-js-sha2-256 simple js sha2 (256bit) implementation | 1.9k | +4% | - | 6 years ago 1.0.7 | CommonJS | None | Cryptography and hashing | |
| pretty-hash Output binary buffers as a nice shortened hex string | 1.9k | -10% | - | 9 years ago 1.0.1 | CommonJS | None | Cryptography and hashing | |
| md5-jkmyers Joseph K. Myers' high performance (in fact, the fastest) MD5 implementation for npm, Bower, Component, etc. | 1.9k | +248% | - | 12 years ago 0.0.1 | CommonJS | None | Cryptography and hashing | |
| @saulx/hash Fast, low collision hashing based on djb2 | 1.9k | - | - | - | 2 years ago 3.0.0 | ESM only | Bundled | Cryptography and hashing |
| aes-everywhere AES Everywhere - Cross Language Encryption (AES 256) | 1.9k | -13% | - | 8 years ago 1.0.0 | CommonJS | None | Cryptography and hashing | |
| @oqs/liboqs-js Post-quantum cryptography for Node.js and browsers via WebAssembly bindings to liboqs | 1.9k | - | - | - | 7 months ago 0.15.1 | ESM only | Bundled | Cryptography and hashing |
| react-extra-prop-types Extra PropTypes for use with React components | 1.8k | -18% | - | 9 years ago 0.3.1 | CommonJS | None | React, Cryptography and hashing | |
| sjcl-es Tiny 2.72kB AES-GCM library | 1.8k | -43% | - | 4 years ago 2.0.0 | ESM only | None | Cryptography and hashing | |
| murmur-hash-js JS murmur hash implementation | 1.8k | +5% | - | 11 years ago 1.0.0 | CommonJS | None | Cryptography and hashing | |
| somes This is a collection of tools, independent of any other libraries | 1.8k | +197% | - | 2 years ago 0.11.16 | CommonJS | Bundled | Cryptography and hashing, HTTP servers and web frameworks |
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.
- @miracl/crypto-jsCrypto Library in JavaScript
- eslint-plugin-node-securityESLint plugin for Node.js security — detects command injection, path traversal, SSRF, zip slip, and weak crypto (MD5/SHA-1, ECB, static IV) in fs, child_process, vm, and crypto.
- verifiablejsWebAssembly bindings for the Parity `verifiable` crate
- iocaneTextual encryption library
- @phc/pbkdf2Node.JS PBKDF2 password hashing algorithm following the PHC string format
- @digitalcredentials/keypairCryptographic key pair data model in Javascript/Typescript, for Node.js, browsers, and React Native. Useful for Verifiable Credentials, DIDs (Decentralized Identifiers), and other uses of Data Integrity.
- sodiumLib Sodium port for node.js
- @countermeasure-platform/web-componentsShared web components for CounterMeasure applications - consolidates common frontend functionality across projects.
- @zk-kit/poseidon-cipherPoseidon encryption and decryption in TypeScript.
- @venizia/ignis-helpersProduction-ready TypeScript utility library: pluggable logging (winston or pino behind one ILogger contract), Redis single/cluster/sentinel with pub/sub, BullMQ/MQTT/Kafka message queues, MinIO/Disk/Bun-S3 object storage, AES-256/RSA/ECDH cryptography, Sn
- @gjsify/webcryptoW3C WebCrypto API (SubtleCrypto) for GJS using @gjsify/crypto primitives
- @gjsify/cryptoNode.js crypto module for Gjs
- micro-rsa-dsa-dhMinimal implementation of older cryptography algorithms: RSA, DSA, DH, ElGamal
- @taceo/poseidon2Poseidon2 hash function over the BN254 scalar field (state sizes t=2,3,4,8,12,16)
- oakscriptjsPineScript v6 compatible technical analysis library for JavaScript/TypeScript
- @zondax/filecoin-signing-toolsFilecoin Signing Tools
- react-native-bcryptOptimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.
- immudb-nodeNode.js SDK for immudb written in TypeScript
- @stainless-code/persistHydration-aware persistence for any reactive store — zero-dep persistSource core; codecs, backends, cross-tab transport, source + framework hydration adapters ship as opt-in recipes
- @taceo/oprf-coreThreshold OPRF client core: BabyJubJub, hash-to-curve, Chaum-Pedersen ZKP, FROST-style distributed proofs
- @dashevo/blsThe most advanced BLS library for JavaScript
- hashrSimple module for simplifying hashing of values
- hashSafely use a JavaScript object as hash
- random-seed-generatorRandom generator for strings, secrets and numbers – with built in crypto module and seed generation for predictable outputs
- phpassVerify phpass portable hashes and bcrypt passwords in Node.js, with an explicit migration path for legacy node-phpass hashes.
- sniGet the Server Name Indication of a raw TLS stream
- murmurhash-wasmMurmurHash in WASM for Node.js and the browser
- @levvicode/libsignal-nodeOpen Whisper Systems' libsignal for Node.js
- node-php-passwordA node compatibility layer to verify and hash php compatible password hashes
- @ryanbekhen/cryptkhenSimple security signature
- @begin/hashidGenerate ids from numbers
- openssl-browserOpenSSL in the Browser and Node.js through WebAssembly, with ESM and UMD entrypoints.
- sjcl-awsStanford Javascript Crypto Library
- jwt-js-decodeDecode, sign/resign or verify JSON Web Tokens (JWT). Works in majority of modern browsers, Node.js and other JavaScript runtimes.
- secure-random-uniformGenerate secure, random, uniform integers, compensating for modulo bias
- secure-shuffleShuffle an array using secure-random-uniform as the RNG
- secure-sampleSecure, sequential (n, N) sampling without replacement
- unixpassNative implementation of Unix compatible DES/MD5/SHA256/SHA512 password hashing.
- @comunica/actor-hash-bindings-sha1A hash bindings actor that provides the SHA1 function
- nicewareUtility for generating memorable passwords and converting random bytes into human-readable phrases
- simple-js-sha2-256simple js sha2 (256bit) implementation
- pretty-hashOutput binary buffers as a nice shortened hex string
- md5-jkmyersJoseph K. Myers' high performance (in fact, the fastest) MD5 implementation for npm, Bower, Component, etc.
- @saulx/hashFast, low collision hashing based on djb2
- aes-everywhereAES Everywhere - Cross Language Encryption (AES 256)
- @oqs/liboqs-jsPost-quantum cryptography for Node.js and browsers via WebAssembly bindings to liboqs
- react-extra-prop-typesExtra PropTypes for use with React components
- sjcl-esTiny 2.72kB AES-GCM library
- murmur-hash-jsJS murmur hash implementation
- somesThis is a collection of tools, independent of any other libraries