symmetric and asymmetric encryption
I have a requirement where i have to encrypt a string on Server A and decrypt on Server B and vice versa. For this i have used symmetric rijndael algorithm where i have written the .cs file containing the necessary function to perform the operations. I am planing to place the .cs file on both the servers and make use of the functions as necessary. would this approach be correct ?