Description
node-seal is an ESM-first WebAssembly wrapper around the C++ Microsoft SEAL library, for TypeScript and JavaScript. Microsoft SEAL implements homomorphic encryption, which lets you compute on encrypted data. node-seal packages the SEAL bindings with their JavaScript glue, the .wasm file and the TypeScript typings, so it runs in Node.js, in browsers and on edge runtimes such as Cloudflare Workers, anywhere WebAssembly is allowed. The README says the current version is aligned with Microsoft SEAL 4.1.2. Version 7 is a breaking release: the custom JavaScript wrapper was removed and the package exposes the Emscripten-generated bindings directly, which makes the package about 96% smaller and changes some imports and helper methods. Installation is through npm, and the default import gives a factory that you call to get the SEAL runtime. The README covers variants, environment notes including an untested React Native path, a sandbox demo for trying encryption parameters, keys and operations, usage and documentation links, and benchmarks. Its caveats section lists limits. The project is public on GitHub.…
Highlights
- Microsoft SEAL homomorphic encryption in JavaScript
- WebAssembly build for Node.js, browsers and edge runtimes
- ESM-first with TypeScript typings
- Aligned with Microsoft SEAL 4.1.2
- Interactive sandbox demo
Ratings & Reviews
No ratings yet
Be the first to rate Node Seal.
People also visit
Shamir Secret Sharing
Simple, independently audited, zero-dependency TypeScript implementation of…
Node Seal FAQ
What is node-seal?
It is a JavaScript and TypeScript package that wraps the Microsoft SEAL homomorphic encryption library in WebAssembly.
Where can it run?
The README says it runs in Node.js, in browsers and on edge runtimes such as Cloudflare Workers, wherever WebAssembly is allowed.
What changed in version 7?
The README says version 7 is a breaking release that removed the custom wrapper layer and exposes the Emscripten bindings directly, so some imports and helpers changed.
How do I install it?
Install it from npm, then use the default import to get a factory and call it to get the SEAL runtime.
Is it free?
The code is open source and public on GitHub.
What are the best Node Seal alternatives?
Popular alternatives to Node Seal include Concrete, SecurityDriven.Inferno and Crypto-Notepad. See all Node Seal alternatives

