public static string Decrypt(string value) { if ((!value.StartsWith("{") || !value.EndsWith("}")) && (!value.StartsWith("[") || !value.EndsWith("]"))) { return(RandomEncrypt.Decrypt(value)); } return(value); }
public static string Encrypt(string value) { return(RandomEncrypt.Encrypt(value)); }