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
forge-light
A custom version of node-forge with selected algorithms.
108k+110%-2 years ago
1.1.4
CommonJSBundledCryptography and hashing
memcached
A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future.
102.8k-12%-10 years ago
2.2.2
CommonJSNoneCryptography and hashing
universal-base64
Small universal base64 functions for node.js and browsers
101.9k+100%-7 years ago
2.1.0
CommonJSBundledCryptography and hashing, TypeScript tooling
sharp-phash
sharp based perceptual hash implementation
99.8k+100%-1 year ago
2.2.0
CommonJSBundledImage processing, Cryptography and hashing
@brandonblack/musig
JS implementation of MuSig. 1-dependency MuSig key aggregation, tweaking, and signing.
92.4k---3 years ago
0.0.1-alpha.1
ESM + CommonJSBundledCryptography and hashing, Security
siphash
SipHash-2-4 fast short-input pseudo-random function
92.3k+214%-1 year ago
1.2.0
CommonJSNoneCryptography and hashing
@cdxgen/safer-exec
OS-level sandboxing with tracing, auditing, crypto tracing (CBOM), and learning mode for arbitrary binaries.
91k---today
1.0.1
ESM onlyNoneSecurity, Cryptography and hashing
@otplib/plugin-crypto-node
Node.js crypto module adapter for otplib
90.1k---1 month ago
13.5.0
ESM + CommonJSBundledCryptography and hashing
@wmhilton/crypto-hash
Tiny hashing module that uses the native crypto API in Node.js and the browser
85.7k---7 years ago
1.0.2
CommonJSNoneCryptography and hashing, DOM and browser utilities
hash-string
A string hashing function based on Daniel J. Bernstein's popular 'times 33' hash algorithm.
85k+213%-11 years ago
1.0.0
CommonJSNoneCryptography and hashing
uuid4
Node UUID v4 Generator
79.6k-12%-4 years ago
2.0.3
ESM + CommonJSNoneCryptography and hashing
multihashing-async
multiple hash functions
74.4k+2%-5 years ago
2.1.4
CommonJSBundledCryptography and hashing, Promises and async control flow
express-request-id
Generate UUID for request
74.3k-27%-3 years ago
3.0.0
ESM onlyBundledCryptography and hashing, HTTP servers and web frameworks
sha-1
This is a SHA-1 hash generator by JavaScript.
72.4k+36%-6 years ago
1.0.0
ESM + CommonJSNoneCryptography and hashing
libp2p-crypto
Crypto primitives for libp2p
71.2k-1%-4 years ago
0.21.2
CommonJSBundledCryptography and hashing
bigint-crypto-utils
Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
69.8k-31%-3 years ago
3.3.0
ESM + CommonJSBundledCryptography and hashing, React
officecrypto-tool
officeCrypto is a library for node.js that can be used to decrypt and encrypt excel files.
68.4k+562%-1 year ago
0.0.19
CommonJSBundledPDF and documents, Cryptography and hashing
@huggingface/blake3-jit
Temporary fork of blake3-jit with Hasher.reset() and pre-allocated buffers. Will be deprecated once upstream blake3-jit exposes reset().
67.9k---5 months ago
0.0.2
ESM + CommonJSBundledCryptography and hashing
gulp-rev
Static asset revisioning by appending content hash to filenames: unicorn.css => unicorn-d41d8cd98f.css
66.8k+13%-10 months ago
12.0.0
ESM onlyNoneCryptography and hashing, Node.js utilities
@node-rs/argon2-linux-arm64-gnu
argon2-rust binding for Node.js
65.5k---15 days ago
2.2.1
CommonJSNoneCryptography and hashing
keccak256
A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript
63.8k-22%-4 years ago
1.0.6
CommonJSBundledCryptography and hashing
@serenity-kit/noble-sodium
TypeScript library offering a Libsodium-compatible API built on top of Noble packages
63.7k---7 months ago
0.2.3
ESM onlyNoneCryptography and hashing
sha256
Compute SHA256 of bytes or strings.
63.7k-6%-11 years ago
0.2.0
CommonJSNoneCryptography and hashing
webpack-chunk-hash
Plugin to replace a standard webpack chunk hashing with custom (md5) one.
63.6k+56%-8 years ago
0.6.0
CommonJSNoneCryptography and hashing
react-native-crypto-js
CryptoJS is a growing collection of standard and secure cryptographic algorithms implemented in JavaScript using best practices and patterns. They are fast, and they have a consistent and simple interface.
63.1k+22%-7 years ago
1.0.0
CommonJSNoneCryptography and hashing, React
@47ng/codec
Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js
62.8k---4 years ago
1.1.0
CommonJSBundledDOM and browser utilities, Node.js utilities
blake2
All four BLAKE2 variants (blake2b, blake2bp, blake2s, blake2sp) for Node.js, with stream support
61.6k+188%-8 months ago
5.0.1
CommonJSNoneCryptography and hashing
@47ng/cloak
Serialized AES-GCM 256 encryption, decryption and key management in the browser & Node.js
61.5k---2 years ago
1.2.0
CommonJSBundledCryptography and hashing
string-to-arraybuffer
Convert base64/datauri/plain string to ArrayBuffer
60k-2%-7 years ago
1.0.2
CommonJSNoneCryptography and hashing
@waves/ts-lib-crypto
This library contains all algorithm implementations like signature verification and protocol entries like address used in Waves.
59.7k---5 months ago
1.5.2
ESM + CommonJSBundledCryptography and hashing
djb2a
DJB2a non-cryptographic hash function
58.8k-15%-1 year ago
3.0.0
ESM onlyBundledCryptography and hashing
js-nacl
High-level API to libsodium.
58.3k-33%-4 years ago
1.4.0
CommonJSNoneCryptography and hashing
secure-random
Normalize the creation of cryptographically strong random values.
58.1k-28%-7 years ago
1.1.2
CommonJSNoneCryptography and hashing
maskdata
Node module to mask various kinds of data in the required formats
57k+20%-10 months ago
1.3.4
CommonJSBundledAuthentication and authorisation, Cryptography and hashing
checksum
Checksum utility for node
56.4k+57%-5 years ago
1.0.0
CommonJSNoneCryptography and hashing
hasharray
A data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.
56.3k+18%-4 years ago
1.1.2
CommonJSNoneCryptography and hashing
uint8-util
Fastest possible buffer-like utilities for uint8.
55.5k+361%-2 months ago
2.3.2
ESM onlyBundledCryptography and hashing
bcrypt-nodejs
A native JS bcrypt library for NodeJS.
53.3k+8%--
0.0.3
CommonJSNoneCryptography and hashing, Authentication and authorisation
@hackbg/miscreant-esm
(ESM port) Misuse resistant symmetric encryption library providing AES-SIV (RFC 5297), AES-PMAC-SIV, and STREAM constructions
52.9k---3 years ago
0.3.2-patch.3
ESM + CommonJSBundledCryptography and hashing, Security
react-native-sha256
Native sha256 react-native
52.6k-2%-2 years ago
1.4.10
CommonJSBundledCryptography and hashing, React
@chainsafe/libp2p-noise
Noise libp2p handshake for js-libp2p
52.4k---11 months ago
17.0.0
ESM onlyBundledCryptography and hashing
shamir-secret-sharing
Simple, independently audited, zero-dependency TypeScript implementation of Shamir's Secret Sharing algorithm
51.9k+1130%-1 year ago
0.0.4
ESM + CommonJSBundledCryptography and hashing, TypeScript tooling
rand-token
Generate random tokens
50.6k+26%-6 years ago
1.0.1
CommonJSBundledCryptography and hashing
@arcjet/stable-hash
Arcjet stable hashing utility
50.4k---8 days ago
1.13.0
ESM onlyBundledCryptography and hashing
eccrypto
JavaScript Elliptic curve cryptography library
50k-37%-5 years ago
1.1.6
CommonJSNoneCryptography and hashing
prisma-field-encryption
Transparent field-level encryption at rest for Prisma
49.4k+170%-1 year ago
1.6.0
CommonJSBundledCryptography and hashing
better-sqlite3-multiple-ciphers
better-sqlite3 with multiple-cipher encryption support
49.4k+801%-1 month ago
13.0.3
CommonJSBundledDatabase clients and drivers, Cryptography and hashing
@pnpm/crypto.shasums-file
Utils for working with shasums files
48.7k---4 days ago
1100.2.5
ESM onlyBundledCryptography and hashing
@enonic/fnv-plus
Javascript FNV-1a Hashing Algorithm up to 1024 bits, with highly optimized 32bit and 52bit implementations.
48.2k---7 years ago
1.3.0
CommonJSNoneCryptography and hashing
browser-image-hash
Image to dhash for Browser
47.3k-1%-6 months ago
0.0.7
ESM onlyBundledCryptography 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.

  • forge-lightA custom version of node-forge with selected algorithms.
  • memcachedA fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future.
  • universal-base64Small universal base64 functions for node.js and browsers
  • sharp-phashsharp based perceptual hash implementation
  • @brandonblack/musigJS implementation of MuSig. 1-dependency MuSig key aggregation, tweaking, and signing.
  • siphashSipHash-2-4 fast short-input pseudo-random function
  • @cdxgen/safer-execOS-level sandboxing with tracing, auditing, crypto tracing (CBOM), and learning mode for arbitrary binaries.
  • @otplib/plugin-crypto-nodeNode.js crypto module adapter for otplib
  • @wmhilton/crypto-hashTiny hashing module that uses the native crypto API in Node.js and the browser
  • hash-stringA string hashing function based on Daniel J. Bernstein's popular 'times 33' hash algorithm.
  • uuid4Node UUID v4 Generator
  • multihashing-asyncmultiple hash functions
  • express-request-idGenerate UUID for request
  • sha-1This is a SHA-1 hash generator by JavaScript.
  • libp2p-cryptoCrypto primitives for libp2p
  • bigint-crypto-utilsArbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
  • officecrypto-toolofficeCrypto is a library for node.js that can be used to decrypt and encrypt excel files.
  • @huggingface/blake3-jitTemporary fork of blake3-jit with Hasher.reset() and pre-allocated buffers. Will be deprecated once upstream blake3-jit exposes reset().
  • gulp-revStatic asset revisioning by appending content hash to filenames: unicorn.css => unicorn-d41d8cd98f.css
  • @node-rs/argon2-linux-arm64-gnuargon2-rust binding for Node.js
  • keccak256A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript
  • @serenity-kit/noble-sodiumTypeScript library offering a Libsodium-compatible API built on top of Noble packages
  • sha256Compute SHA256 of bytes or strings.
  • webpack-chunk-hashPlugin to replace a standard webpack chunk hashing with custom (md5) one.
  • react-native-crypto-jsCryptoJS is a growing collection of standard and secure cryptographic algorithms implemented in JavaScript using best practices and patterns. They are fast, and they have a consistent and simple interface.
  • @47ng/codecUniversal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js
  • blake2All four BLAKE2 variants (blake2b, blake2bp, blake2s, blake2sp) for Node.js, with stream support
  • @47ng/cloakSerialized AES-GCM 256 encryption, decryption and key management in the browser & Node.js
  • string-to-arraybufferConvert base64/datauri/plain string to ArrayBuffer
  • @waves/ts-lib-cryptoThis library contains all algorithm implementations like signature verification and protocol entries like address used in Waves.
  • djb2aDJB2a non-cryptographic hash function
  • js-naclHigh-level API to libsodium.
  • secure-randomNormalize the creation of cryptographically strong random values.
  • maskdataNode module to mask various kinds of data in the required formats
  • checksumChecksum utility for node
  • hasharrayA data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.
  • uint8-utilFastest possible buffer-like utilities for uint8.
  • bcrypt-nodejsA native JS bcrypt library for NodeJS.
  • @hackbg/miscreant-esm(ESM port) Misuse resistant symmetric encryption library providing AES-SIV (RFC 5297), AES-PMAC-SIV, and STREAM constructions
  • react-native-sha256Native sha256 react-native
  • @chainsafe/libp2p-noiseNoise libp2p handshake for js-libp2p
  • shamir-secret-sharingSimple, independently audited, zero-dependency TypeScript implementation of Shamir's Secret Sharing algorithm
  • rand-tokenGenerate random tokens
  • @arcjet/stable-hashArcjet stable hashing utility
  • eccryptoJavaScript Elliptic curve cryptography library
  • prisma-field-encryptionTransparent field-level encryption at rest for Prisma
  • better-sqlite3-multiple-ciphersbetter-sqlite3 with multiple-cipher encryption support
  • @pnpm/crypto.shasums-fileUtils for working with shasums files
  • @enonic/fnv-plusJavascript FNV-1a Hashing Algorithm up to 1024 bits, with highly optimized 32bit and 52bit implementations.
  • browser-image-hashImage to dhash for Browser