Ejemplo n.º 1
0
 private static void Bob1TimePadBack(string cipher)
 {
     var whatDidSheSent = new OneTimePad(true, requireEqualKeyLength: false).Decrypt("My Secret Key", cipher);
     Console.WriteLine("Hehe, I got her vigener coded message secretly: \n {0}", whatDidSheSent);
 }
Ejemplo n.º 2
0
 private static void BobOneTimePadded(string cipher)
 {
     // P an K are both 15 characters //
     var whatDidSheSent = new OneTimePad(true).Decrypt("Ya We Know that", cipher);
     Console.WriteLine("Hehe, I got her one time padded message secretly: \n {0}", whatDidSheSent);
 }