Simple encryption and decryption of a string in c#
Here are some routines which are designed for simple use of Rijndael in C#. I’ve combined a test function in the class for simplicity of showing it’s use.
private static byte[] salt = Encoding.ASCII.GetBytes(”somerandomstuff”);
public static string Encrypt(string plainText, string […]