Closed xueyumusic closed 4 years ago
Generally you should recrypt when the "homomorphic capacity" gets too low and you want to increase it.
Specifically, for plaintext space modulo 2 (p=2, r=1) you probably want to recrypt as soon as ctxt.bitCapacity()
goes below 30 or so. If you use a larger plaintext space (p>2 and/or r>1) then you need to recrypt earlier, maybe when the capacity goes below 40.
Thanks, @shaih
My tests show that after recryption the levels left could be run are less than the non-bootstrap, for example, when not using bootstrap it could continue run levels N, but if recrypting at some point it only continue run levels M<N, so when and what condition the recryption should be called. For example,
what
shouldRecrypt
method should we use? like leftLevels, some noisebounds etc...