Encrypt and decrypt messages using RSA