Let to pass an arbitrary number of cyphers to PublicKey.Add #5

Merged
pdyraga merged 5 commits from master into master 2018-07-03 18:53:09 -04:00
5 Commits
Author SHA1 Message Date
Jakub Nowakowski 715a2097b7 Merge pull request #5 from keep-network/add-cyphers
Let to pass an arbitrary number of cyphers to PublicKey.Add
2018-06-28 15:59:42 +02:00
Piotr Dyraga d439831ffd pub self-reference renamed to pk
We want to use a noun-ish name, not an adjective.
2018-06-28 15:52:26 +02:00
Piotr Dyraga b7abc00044 Test of an additively homomorphic property for a small modulus 2018-06-28 15:47:41 +02:00
Piotr Dyraga 5631d7cca5 Better explanation of an additively homomorphic property 2018-06-28 15:46:45 +02:00
Piotr Dyraga 053ae45b59 Let to pass an arbitrary number of cyphers to PublicKey.Add
`PublicKey.Add` accepts now an arbitrary number of `*Cypher`s.
Previously, it was possible to add only two `*Cypher*` instances and it
was quite unwieldy for a lot of use cases.

The current implementation is backward compatible. It's still possible
to pass just two `*Cypher` arguments, so every project referencing the
library will observe no compilation issues.
2018-06-28 14:28:05 +02:00