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

            byte[] encryptedData = algorithm.Encrypt(decryptedSingleBlockData);

            CollectionAssert.AreEqual(encryptedSingleBlockData, encryptedData, "Decrypted data is not same as known data.");
        }