The following function called XorEncrypt can be used to encrypt the data source server name, database name, username and password within a connection string in the following format: ...