Implement encryption with RSA