OpenMined / paillier.js

A pure javascript implementation of paillier - runnable in browser, node, or react native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

paillier.js

This is a pure JS implementation of paillier-bigint. This version has no dependencies on bigint or worker, making it suitable for use in React Native or other constrained environments.

NOTE: The tradeoff of using this library over the bigint is that this library is relatively slow.

Installing

Install a getRandomValues() polyfill if necessary.

Then install the library

npm install paillier-pure

About

A pure javascript implementation of paillier - runnable in browser, node, or react native


Languages

Language:TypeScript 95.8%Language:JavaScript 4.2%