Skip to content

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

Notifications You must be signed in to change notification settings

OpenMined/paillier.js

Repository files navigation

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

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published