
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
ciphersweet-js
Advanced tools
A JavaScript port of CipherSweet, which is a PHP library that implements searchable field-level encryption.
Before adding searchable encryption support to your project, make sure you understand the appropriate threat model for your use case. At a minimum, you will want your application and database server to be running on separate cloud instances / virtual machines. (Even better: Separate bare-metal hardware.)
CipherSweet is available under the very permissive ISC License which allows you to use CipherSweet in any of your JavaScript projects, commercial or noncommercial, open source or proprietary, at no cost to you.
ModernCrypto
uses libsodium, the de
facto standard encryption library for software developers.
Algorithm details.FIPSCrypto
only uses the cryptographic algorithms covered by the
FIPS 140-2 recommendations to avoid auditing complexity.
Algorithm details.LIKE
operators or regular expression searching, but
it does allow you to index transformations (e.g. substrings) of the plaintext,
hashed under a distinct key.npm install ciphersweet-js
Optional:
CipherSweet uses Sodium-Plus internally.
The default Sodium-Plus backend is cross-platform, but you can obtain greater
performance by installing sodium-native
too.
npm install --save sodium-native
This isn't strictly necessary, and sodium-native doesn't work in browsers, but if you're not targeting browsers, you can get a significant performance boost.
The CipherSweet.js documentation is
available online at https://ciphersweet.paragonie.com
.
If your company uses this library in their products or services, you may be interested in purchasing a support contract from Paragon Initiative Enterprises.
FAQs
Searchable encryption for Node.js projects
The npm package ciphersweet-js receives a total of 1,094 weekly downloads. As such, ciphersweet-js popularity was classified as popular.
We found that ciphersweet-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.