Encrypting and Encoding using RSA