You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at this code again, skipping the modulo n^2 operation is probably a bad idea if the plaintext is a large number. I guess the optimal thing to do would be to figure out the threshold at which skipping it makes sense, but, otherwise, RandomizeCiphertext will be faster if we make sure it only multiplies numbers that are smaller than n^2.
The text was updated successfully, but these errors were encountered:
Looking at this code again, skipping the modulo
n^2
operation is probably a bad idea if the plaintext is a large number. I guess the optimal thing to do would be to figure out the threshold at which skipping it makes sense, but, otherwise,RandomizeCiphertext
will be faster if we make sure it only multiplies numbers that are smaller thann^2
.The text was updated successfully, but these errors were encountered: