Skip to content

Node.js bindings for liboqs (Open Quantum Safe) through liboqs-cpp.

Notifications You must be signed in to change notification settings

sneh2102/liboqs-node-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

liboqs-node

Node.js bindings for liboqs (Open Quantum Safe) through liboqs-cpp.

const {
  Random, // Utilities for generating secure random numbers
  KEMS, // Information on supported key encapsulation mechanisms
  KeyEncapsulation, // Key encapsulation class and methods
  Sigs, // Information on supported signature algorithms
  Signature // Signature class and methods
} = require("liboqs-node");

Installing

  1. Install dependencies:

On Ubuntu:

  sudo apt install astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz python3-yaml valgrind
  1. Clone the Repository
git clone https://github.com/sneh2102/liboqs-node-wrapper.git
  1. Run the commands
cd liboqs-node-wrapper
npm i
npm run prep
npm run build:all
  1. Execute the example code
node example_kems.js

About

Node.js bindings for liboqs (Open Quantum Safe) through liboqs-cpp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published