public static string Get(string data) { AESCrypt aes = new AESCrypt(); aes.ContainKey = true; return(aes.Decrypt(data)); }
public static string Set(string data, string key) { AESCrypt aes = new AESCrypt(); aes.ContainKey = false; return(aes.Encrypt(data, key)); }