Added support for a Cypher multiplication #8

Merged
pdyraga merged 3 commits from master into master 2018-07-20 07:14:39 -04:00
3 Commits
Author SHA1 Message Date
Jakub Nowakowski 3eb21f405c Merge pull request #7 from keep-network/cypher-multiplication
Added support for a Cypher multiplication
2018-07-17 15:27:34 +02:00
Piotr Dyraga c685186ca3 Use Cmp to compare Ints, reflections is just to heavy 2018-07-17 15:20:17 +02:00
Piotr Dyraga f5a4d18889 Added support for a Cypher multiplication
It's now possible to multiply Cypher by an integer.

Paillier is a homomorphic encryption scheme, where an encrypted
plaintext `m` raised to an integer `k` will decrypt to the product of
the plaintext `m` and `k`.
2018-07-17 15:05:59 +02:00