napi-nacl
v1.2.1
Published
Multi-threaded NaCl cryptor module for Node written in Rust
Maintainers
Readme
NAPI NaCl plugin
This package gives to Node, via NAPI, a Rust implementation of encryption utilities found in ecma-nacl. Native cryptors utilize parallel execution, making it desirable in systems like PrivacySafe.
Building
To use this repo, you need Node.js.
Native module code is written in Rust, and uses NAPI-RS.
Cross compilation uses --cross-compile flag requiring presence of zig. rustup targets should be added for cross-compilation.
Rust targets should be installed, listed in package.json.
npm ci installs everything.
npm run build-all builds everyting.
License
Code is provided here under GNU General Public License, version 3.
