Skip to content

3nsoft/napi-nacl

Repository files navigation

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.

About

NAPI plugin with NaCl cryptors for 3NWeb client library and desktop

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors