X-Git-Url: http://git.euphorik.ch/?p=crypto_lab2.git;a=blobdiff_plain;f=labo2-fsharp%2FCryptoFile%2FUnitTests.fs;fp=labo2-fsharp%2FCryptoFile%2FUnitTests.fs;h=203f789ec1326e54c676cb9511df5ce1cc04fc50;hp=e43d7b4549b7e73559171b3ad88d127475ce9446;hb=f88f22ebc8d780fbd86358bf95dffcfb3803f509;hpb=aa6da23b467f0fad1344c6dd29972f56cad7175c diff --git a/labo2-fsharp/CryptoFile/UnitTests.fs b/labo2-fsharp/CryptoFile/UnitTests.fs index e43d7b4..203f789 100644 --- a/labo2-fsharp/CryptoFile/UnitTests.fs +++ b/labo2-fsharp/CryptoFile/UnitTests.fs @@ -28,7 +28,7 @@ module UnitTests = let testAES () = let plaintext = "There is no place like 127.0.0.1" let memory = new MemoryStream () - let key = Crypto.rand 32 + let key = Crypto.rand 16 let iv = Crypto.rand 16 let input = encryptAES key iv memory