Пример #1
0
 /* Undoes the encrypt function if settings are the same
  */
 public string decrypt(string cipher)
 {
     char[] chars   = cipher.ToCharArray();
     int[]  numbers = encoder.encode(chars);
     numbers = scrambler.decrypt(numbers);
     char[] message = encoder.decode(numbers);
     return(new string( message ));
 }