public static string EncryptString(string input) { try { var rijndaelKey = new RijndaelEnhanced("DGCTV", "@1B2c3D4e5F6g7H8"); return(rijndaelKey.Encrypt(input)); } catch (Exception) { return(""); } }
public static string EncryptString(string input) { try { var rijndaelKey = new RijndaelEnhanced("DGCTV", "@1B2c3D4e5F6g7H8"); return rijndaelKey.Encrypt(input); } catch (Exception) { return ""; } }