java.lang.Exception: Paillier.decrypt(BigInteger c): ciphertext c is not in Z*_{n^2}

Cryptography | Thijser | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    In Paillier homomorphism, how do you deal with bit length?

    Cryptography | 8 months ago | Thijser
    java.lang.Exception: Paillier.decrypt(BigInteger c): ciphertext c is not in Z*_{n^2}

    Root Cause Analysis

    1. java.lang.Exception

      Paillier.decrypt(BigInteger c): ciphertext c is not in Z*_{n^2}

      at pet4.Paillier.decrypt()
    2. pet4
      Main.main
      1. pet4.Paillier.decrypt(Paillier.java:180)
      2. pet4.Main.main(Main.java:13)
      2 frames