ntrujs

JavaScript bindings for NTRU cryptography

Usage no npm install needed!

<script type="module">
  import ntrujs from 'https://cdn.skypack.dev/ntrujs';
</script>

README

ntru.js

NTRU.js aims to provide post-quantum security to NodeJS applications written in JavaScript.

Installation

npm install ntrujs

Building

Download the code, run the command: git submodule init and then, run: git submodule update These commands will download the NTRU sources. Compile the NTRU library, and place the resulting files in the lib folder. After NTRU is compiled, run: npm install After running npm install, run: node main.js If there were no errors, you should be good to go!

Running

TODO: Add example code

Developing

See https://github.com/IDWMaster/ntrujs