X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=labo2-fsharp%2FCryptoFile%2FUnitTests.fs;h=203f789ec1326e54c676cb9511df5ce1cc04fc50;hb=f88f22ebc8d780fbd86358bf95dffcfb3803f509;hp=e43d7b4549b7e73559171b3ad88d127475ce9446;hpb=cec3ba87beeee522369d8f6fe85aa05cb9c78175;p=crypto_lab2.git 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