Question

I am following this article on Encryption/Decryption. Currently I am using RSA algorithm for encryption and decryption using private and public key respectively. I am not sure whether RSA is good for asymmetric encryption or not.

Can you guys share your thought wheter RSA is best or not. If RSA is not best then please suggest me other algorithm name which can be used through java APIs.

Was it helpful?

Solution

If it's good enough for your bank, it's (probably) good enough for your purposes. It's still secure (given a correct implementation and big enough keys). It's hard to pick the "best" algorithm, but RSA is certainly a well-trusted, secure algorithm.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top