homomorphicjs

1.1.2 • Public • Published

paillier.js

A pure javascript implementation of python-paillier.

Currently relies on jsbn and the crypto module.

Build Status

What is done?

  • [x] Generate paillier keypairs
  • [ ] Raw encryption of integers
    • [x] Raw encryption of small integers (less than 2^16)
    • [x] Deal with encrypting large numbers (see shortcut)
  • [x] Raw decryption of ciphertext strings into integers
  • [ ] Encoded Number
  • [ ] Full test coverage

Paillier Cryptosystem

The homomorphic properties of the paillier crypto system are:

  • Encrypted numbers can be multiplied by a non encrypted scalar.
  • Encrypted numbers can be added together.
  • Encrypted numbers can be added to non encrypted scalars.

/homomorphicjs/

    Package Sidebar

    Install

    npm i homomorphicjs

    Weekly Downloads

    3

    Version

    1.1.2

    License

    Apache-2.0

    Last publish

    Collaborators

    • hardbyte