I’ve been trying out your RSA class. I love it for its simplicity, but I see some performance problems with it.
I’ve been timing it and compared it to other implementations I’ve got and I can see a huge difference.
The timing ratio between encryption/decryption is to be expected, but other than that, my “old code” still
performs about 100 times quicker, and that’s significant.
I get the feeling your class is build for compactness, not for speed. Could you please comment on this? perhaps
I’m actually not using your class correctly!?