Convert RSA encrypt to use EVP_PKEY