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 |
|---|---|---|---|---|---|---|---|---|
| image-to-base64 Generate a image to base64. | 259.2k | +23% | - | 5 years ago 2.2.0 | CommonJS | None | Cryptography and hashing | |
| @thi.ng/random Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation | 255.5k | - | - | - | 30 days ago 4.1.54 | ESM only | Bundled | Cryptography and hashing |
| hat generate random IDs and avoid collisions | 250.4k | -2% | - | - 0.0.3 | CommonJS | None | Cryptography and hashing | |
| react-native-base64 Base64 encoding and decoding helping util. Created for React Native but can be used anywhere | 247.7k | +16% | - | - 0.2.2 | CommonJS | None | React, Cryptography and hashing | |
| @xrplf/isomorphic A collection of isomorphic and tree-shakeable crypto hashes and utils for xrpl.js | 235.2k | - | - | - | 3 months ago 1.0.2 | - | None | Cryptography and hashing |
| js-sha1 A simple SHA1 hash function for JavaScript supports UTF-8 encoding. | 235k | +3% | - | 2 years ago 0.7.0 | CommonJS | None | Cryptography and hashing | |
| @hpke/dhkem-x25519 A Hybrid Public Key Encryption (HPKE) module extension for X25519 | 234.4k | - | - | - | 6 months ago 1.8.0 | ESM + CommonJS | Bundled | Cryptography and hashing, Security |
| pbkdf2-compat This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes() | 233.2k | -4% | - | 11 years ago 4.0.0 | CommonJS | None | Cryptography and hashing | |
| md5hex Thin wrapper around the crypto module that creates an MD5 hex digest of a given string or buffer | 228.6k | -13% | - | 11 years ago 1.0.0 | CommonJS | None | Cryptography and hashing | |
| fernet Javascript implementation of Fernet symmetric encryption https://github.com/kr/fernet-spec | 228.4k | +442% | - | - 0.3.3 | CommonJS | None | Cryptography and hashing | |
| get-random-values `window.crypto.getRandomValues` with fallback to Node.js crypto | 215.8k | +9% | - | 1 month ago 5.0.1 | CommonJS | Bundled | Cryptography and hashing | |
| buffer-reverse A lite module for reverse-operations on buffers | 213.7k | +38% | - | 10 years ago 1.0.1 | CommonJS | None | Cryptography and hashing | |
| @scure/starknet Audited & minimal implementation of Starknet cryptography including Pedersen and Stark Curve | 213.1k | - | - | - | 27 days ago 2.4.0 | ESM only | Bundled | Cryptography and hashing |
| kruptein crypto; from kruptein to hide or conceal | 209.9k | +42% | - | 3 months ago 3.4.0 | - | None | Cryptography and hashing | |
| hashring A consistent hashring compatible with ketama hashing and python's hash_ring | 208.9k | +22% | - | 11 years ago 3.2.0 | CommonJS | None | Cryptography and hashing | |
| @multiformats/base-x Fast base encoding / decoding of any given alphabet | 208.7k | - | - | - | 6 years ago 4.0.1 | CommonJS | Bundled | Cryptography and hashing |
| @toruslabs/eccrypto JavaScript Elliptic curve cryptography library, includes fix to browser.js so that encrypt/decrypt works | 203k | - | - | - | 7 months ago 7.0.0 | ESM + CommonJS | Bundled | Cryptography and hashing |
| hpke-js A Hybrid Public Key Encryption (HPKE) module for various JavaScript runtimes | 200.3k | +308% | - | 6 months ago 1.8.0 | ESM + CommonJS | Bundled | Cryptography and hashing, Security | |
| @hpke/dhkem-x448 A Hybrid Public Key Encryption (HPKE) module extension for X448 | 200.2k | - | - | - | 6 months ago 1.8.0 | ESM + CommonJS | Bundled | Cryptography and hashing, Security |
| ed25519-hd-key BIP-0032 like derivation for ed25519 curve | 197.2k | +170% | - | 4 months ago 2.0.0 | ESM only | Bundled | Cryptography and hashing | |
| futoin-hkdf RFC5869: HMAC-based Extract-and-Expand Key Derivation Function (HKDF) | 190.5k | -38% | - | 3 years ago 1.5.3 | CommonJS | Bundled | Cryptography and hashing | |
| ksuid Node.js implementation of K-Sortable Globally Unique IDs | 188.5k | -4% | - | - 3.0.0 | CommonJS | Bundled | Cryptography and hashing | |
| string-hash-64 fast 64 bit string hashing function | 184.2k | +84% | - | 9 years ago 1.0.3 | CommonJS | None | Strings and text, Cryptography and hashing | |
| farmhash Node-API implementation of FarmHash, Google's family of very fast hash functions | 178.4k | +31% | - | 11 months ago 5.0.1 | CommonJS | Bundled | Cryptography and hashing, Node.js utilities | |
| @adonisjs/hash Framework agnostic Password hashing package with support for PHC string format | 166.7k | - | - | - | 1 month ago 10.1.1 | ESM only | Bundled | Cryptography and hashing |
| @cryptography/aes High-performance synchronous AES implementation for JavaScript | 162.2k | - | - | - | 6 years ago 0.1.1 | ESM + CommonJS | Bundled | Cryptography and hashing |
| sjcl Stanford Javascript Crypto Library | 159.4k | -20% | - | 6 months ago 1.0.9 | CommonJS | None | Cryptography and hashing | |
| @hyperjump/json-schema-formats A collection of validation functions for the JSON Schema `format` keyword. | 156.1k | - | - | - | 3 days ago 1.0.7 | ESM only | None | Cryptography and hashing, Email |
| lil-uuid UUID v4 generator and validator (RFC4122 compliant) | 155.5k | +41% | - | 11 years ago 0.1.1 | CommonJS | None | Cryptography and hashing | |
| @hashgraph/cryptography Cryptographic utilities and primitives for the Hiero SDK | 154.7k | - | - | - | 6 months ago 1.17.0 | ESM + CommonJS | Bundled | Cryptography and hashing |
| age-encryption <p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/FiloSottile/age/blob/main/logo/logo_white.svg"> <source media="(prefers-color-scheme: light)" srcset="https://github.com/FiloSottile/a | 151.3k | +4301% | - | 28 days ago 0.3.1 | ESM only | Bundled | Cryptography and hashing | |
| http-message-sig HTTP Message Signatures defined by RFC 9421 | 145.8k | +53549% | - | 25 days ago 0.3.0 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| web-bot-auth Web Bot Authentication using HTTP Message Signatures | 143.4k | +51464% | - | 25 days ago 0.2.0 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| crypto-md5 Simply expose crypto md5 as a single function | 140k | -24% | - | 11 years ago 1.0.0 | CommonJS | None | Cryptography and hashing | |
| react-native-securerandom Generate cryptographically-secure random bytes in react native | 136.5k | +34% | - | 4 years ago 1.0.1 | CommonJS | Bundled | Cryptography and hashing, React | |
| @libp2p/crypto Crypto primitives for libp2p | 135.8k | - | - | - | 1 month ago 5.1.23 | ESM only | Bundled | Cryptography and hashing |
| i18next-scanner Scan your code, extract translation keys/values, and merge them into i18n resource files. | 135.2k | +8% | - | 1 year ago 4.6.0 | CommonJS | None | Internationalisation, Cryptography and hashing | |
| crypto-es A cryptography algorithms library | 134.7k | +15% | - | 6 months ago 3.1.3 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| jsonwebkey-thumbprint JWK Thumbprint defined by RFC 7638 | 132k | +53918% | - | 1 year ago 0.1.0 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| scrypt-kdf Scrypt Key Derivation Function | 131.6k | +146% | - | 10 months ago 4.0.0 | ESM only | Bundled | Cryptography and hashing | |
| msrcrypto MSR JavaScript Cryptography Library | 130.7k | +43% | - | 6 years ago 1.5.8 | ESM + CommonJS | None | Cryptography and hashing | |
| json-canonicalize JSON canonicalize function | 124.6k | +449% | - | 15 days ago 3.0.1 | ESM + CommonJS | Bundled | Cryptography and hashing | |
| murmurhash3js-revisited MurmurHash3 in JavaScript, matches the reference implementation (C++), runnable in node and browser. | 119k | +26% | - | 7 years ago 3.0.0 | CommonJS | None | Cryptography and hashing, DOM and browser utilities | |
| ed2curve Convert Ed25519 signing keys into Curve25519 Diffie-Hellman keys. | 116.9k | +68% | - | 6 years ago 0.3.0 | CommonJS | None | Cryptography and hashing | |
| hashish Hash data structure manipulation functions | 116k | -34% | - | 15 years ago 0.0.4 | CommonJS | None | Cryptography and hashing | |
| slate-base64-serializer A Base64 serializer for Slate editors. | 114.8k | -18% | - | - 0.2.115 | ESM + CommonJS | None | Rich text and code editors, Cryptography and hashing | |
| uuid-validate Javascript validator for UUID versions 1 through 5 | 113.9k | +10% | - | 8 years ago 0.0.3 | CommonJS | None | Cryptography and hashing, Schema validation | |
| uuid-by-string Generating uuid-hash from string | 112.3k | -6% | - | 4 years ago 4.0.0 | CommonJS | Bundled | Cryptography and hashing | |
| json-encrypt-cli A CLI tool to encrypt JSON files with various algorithms | 111.8k | +1633750% | - | 1 year ago 1.0.0 | CommonJS | None | Cryptography and hashing, CLI tools and terminal utilities | |
| rev-hash Create a hash for file revving | 110.8k | -3% | - | 2 years ago 4.1.0 | ESM only | Bundled | Cryptography and hashing, Caching |
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.
- image-to-base64Generate a image to base64.
- @thi.ng/randomPseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
- hatgenerate random IDs and avoid collisions
- react-native-base64Base64 encoding and decoding helping util. Created for React Native but can be used anywhere
- @xrplf/isomorphicA collection of isomorphic and tree-shakeable crypto hashes and utils for xrpl.js
- js-sha1A simple SHA1 hash function for JavaScript supports UTF-8 encoding.
- @hpke/dhkem-x25519A Hybrid Public Key Encryption (HPKE) module extension for X25519
- pbkdf2-compatThis library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()
- md5hexThin wrapper around the crypto module that creates an MD5 hex digest of a given string or buffer
- fernetJavascript implementation of Fernet symmetric encryption https://github.com/kr/fernet-spec
- get-random-values`window.crypto.getRandomValues` with fallback to Node.js crypto
- buffer-reverseA lite module for reverse-operations on buffers
- @scure/starknetAudited & minimal implementation of Starknet cryptography including Pedersen and Stark Curve
- krupteincrypto; from kruptein to hide or conceal
- hashringA consistent hashring compatible with ketama hashing and python's hash_ring
- @multiformats/base-xFast base encoding / decoding of any given alphabet
- @toruslabs/eccryptoJavaScript Elliptic curve cryptography library, includes fix to browser.js so that encrypt/decrypt works
- hpke-jsA Hybrid Public Key Encryption (HPKE) module for various JavaScript runtimes
- @hpke/dhkem-x448A Hybrid Public Key Encryption (HPKE) module extension for X448
- ed25519-hd-keyBIP-0032 like derivation for ed25519 curve
- futoin-hkdfRFC5869: HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
- ksuidNode.js implementation of K-Sortable Globally Unique IDs
- string-hash-64fast 64 bit string hashing function
- farmhashNode-API implementation of FarmHash, Google's family of very fast hash functions
- @adonisjs/hashFramework agnostic Password hashing package with support for PHC string format
- @cryptography/aesHigh-performance synchronous AES implementation for JavaScript
- sjclStanford Javascript Crypto Library
- @hyperjump/json-schema-formatsA collection of validation functions for the JSON Schema `format` keyword.
- lil-uuidUUID v4 generator and validator (RFC4122 compliant)
- @hashgraph/cryptographyCryptographic utilities and primitives for the Hiero SDK
- age-encryption<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/FiloSottile/age/blob/main/logo/logo_white.svg"> <source media="(prefers-color-scheme: light)" srcset="https://github.com/FiloSottile/a
- http-message-sigHTTP Message Signatures defined by RFC 9421
- web-bot-authWeb Bot Authentication using HTTP Message Signatures
- crypto-md5Simply expose crypto md5 as a single function
- react-native-securerandomGenerate cryptographically-secure random bytes in react native
- @libp2p/cryptoCrypto primitives for libp2p
- i18next-scannerScan your code, extract translation keys/values, and merge them into i18n resource files.
- crypto-esA cryptography algorithms library
- jsonwebkey-thumbprintJWK Thumbprint defined by RFC 7638
- scrypt-kdfScrypt Key Derivation Function
- msrcryptoMSR JavaScript Cryptography Library
- json-canonicalizeJSON canonicalize function
- murmurhash3js-revisitedMurmurHash3 in JavaScript, matches the reference implementation (C++), runnable in node and browser.
- ed2curveConvert Ed25519 signing keys into Curve25519 Diffie-Hellman keys.
- hashishHash data structure manipulation functions
- slate-base64-serializerA Base64 serializer for Slate editors.
- uuid-validateJavascript validator for UUID versions 1 through 5
- uuid-by-stringGenerating uuid-hash from string
- json-encrypt-cliA CLI tool to encrypt JSON files with various algorithms
- rev-hashCreate a hash for file revving