public void Test1() { /* * For example, uppercase A = 65, asterisk (*) = 42, and lowercase k = 107. */ var sut = new E059XORDecryption(); Assert.Equal('k', sut.GetXor('A', '*')); List <int> cipherListe = GetNamesFromFile(); }
public void Solution() { /* * find the sum of the ASCII values in the original text. */ List <int> cipherListe = GetNamesFromFile(); var sut = new E059XORDecryption(); Assert.Equal(129448, sut.GetSumAssicOfDekryptetText(cipherListe)); /* * Congratulations, the answer you gave to problem 59 is correct. * * You are the 36531st person to have solved this problem. */ }