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.
Install a getRandomValues() polyfill if necessary.
Then install the library
npm install paillier-pure