-
At the moment, `a - b` is computed by adding `a` and the additive inverse of `b`. Is there a way to optimise the calculation (i.e., without computing the additive inverse of `b`)?
-
Currently `a / b` (where `a` can be an `EncryptedNumber`, an `EncodedNumber` or a `Number` and `b` is either a `long` or a `double`) is computed as `a * (1 / b)`. Is there a better way to calculate `a…
-
I'm still reading up on how Paillier actually works, so this may be a silly question. Is it possible for a single set of keys to encrypt both a scalar and a vector at the same time? I attempted to d…
-
To aide testing integration between python-paillier and javallier, add a command line program to:
- generate and serialize key pairs (of different key sizes)
- encrypt and serialize given a public key…
-
Current Use
=====
```rust
let (ek, dk) = PlainPaillier::keypair(2048);
let m1 = PlainPaillier::encode(10);
let c1 = PlainPaillier::encrypt(&ek, &m1);
let m2 = PlainPaillier::encode(20);
let c…
-
In javallier version 0.5.0, the encoding of the double value 0.0 is an EncodedNumber with a significant of 0 and an exponent of -1057. And although this is a valid encodoing of zero, it will lead quit…
-
GmSSL was config'd and built for debug. Perl is up to date and Perl's `Test::More` and `Text::Template` is installed for OpenSSL test suite.
The following result happens with and without `sudo`.
…
-
マイナスの値を復号するときに計算を工夫しないとうまく復号できない
-
Left over issue from review of reconfigurable base - encoding and decoding as BigDecimal to avoid losing precision when decoding to double.
I did the decoding part, which might be useful on its own a…
-
`PaillierTestEncodedNumber` has several **encryption** tests including `testEncryptFloatDecryptFloat2`.
As written these tests are misleading - they don't actually **encrypt** the EncodedNumber.
Lin…