An open API service indexing awesome lists of open source software.

https://github.com/openmined/paillier.js

A pure javascript implementation of paillier - runnable in browser, node, or react native
https://github.com/openmined/paillier.js

cryptography javascript

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# paillier.js

This is a pure JS implementation of [paillier-bigint](https://github.com/juanelas/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()](https://github.com/LinusU/react-native-get-random-values#readme) polyfill if necessary.

Then install the library

```
npm install paillier-pure
```