Added Necessary Code for RSA encryption