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