Пример #1
0
 public void GetPermutedKeyTest()
 {
     byte[] originalKey = { 0x13, 0x34, 0x57, 0x79, 0x9B, 0xBC, 0xDF, 0xF1 };
     byte[] expectedKey = { 0xF0, 0xCC, 0xAA, 0xF5, 0x56, 0x67, 0x8F };
     Assert.IsTrue(expectedKey.SequenceEqual(des.GetPermutedKey(originalKey)));
 }