Пример #1
0
        public void DeobfuscatingDataShouldChangeDataCorrectly()
        {
            BootLoaderCryptoAlgorithm algorithm = new BootLoaderCryptoAlgorithm();

            byte[] data = CreateCopy(obfuscatedSingleBlockData, 50);
            algorithm.Deobfuscate(data);

            CollectionAssert.AreEqual(originalSingleBlockFrameData, data, "Obfuscated data is not same as known data.");
        }