Hi, thanks for your work of this open source project! :) I am trying to use your code on some project and is stuck by a problem. The following are the parameters I used to test the program.
this.inRange = new ValueRange(BigInteger.ZERO, new BigInteger("2").pow(40));this.outRange = new ValueRange(BigInteger.ZERO, new BigInteger("2").pow(41));this.key = "key11"
The plaintext is new BigInteger("948980387264"); then the program enters into an endless while loop
of function hypergeometricHyp.
I checked the values within in the function and found this happened when Y = 1, inner = 0 and K = 0. K = 0, K -- will make it never run the break. And inner = 0, then Y will always be larger than 0.
Did you know how to fix this issue? Your help will be appreciated very much!
Hello, unfortunately, I don't maintain this repo anymore, but this implementation is based on a python implementation here: https://github.com/tonyo/pyope which might be helpful
Hi, thanks for your work of this open source project! :) I am trying to use your code on some project and is stuck by a problem. The following are the parameters I used to test the program.
this.inRange = new ValueRange(BigInteger.ZERO, new BigInteger("2").pow(40));
this.outRange = new ValueRange(BigInteger.ZERO, new BigInteger("2").pow(41));
this.key = "key11"
The plaintext is new BigInteger("948980387264"); then the program enters into an endless while loop of function hypergeometricHyp.
I checked the values within in the function and found this happened when Y = 1, inner = 0 and K = 0. K = 0, K -- will make it never run the break. And inner = 0, then Y will always be larger than 0.
Did you know how to fix this issue? Your help will be appreciated very much!