Has anyone tried
ElGamalKeyGenerator new generateKeysOfSize: 2048
?
The ElGamal tests pass because they use but a 15-bit key! Does anyone mind if I beef up this test and possibly others?
I can post notice of my commit here when I'm done and then someone else can review it if they want? The tests will not pass unless we fix the issue itself.
The issue itself appears to be caused by use of the Float-based "Random" generator. I haven't yet tried replacing it with SecureRandom, but I will try that soon.