CreateEncryptor_IV (size);
}
+#if !NET_2_1
[Test]
[ExpectedException (typeof (CryptographicException))]
// Rijndael is the only implementation that has
int size = aes.BlockSize; // 8 times too big
CreateEncryptor_IV (size);
}
+#endif
private ICryptoTransform CreateDecryptor_IV (int size)
{
int size = (aes.BlockSize >> 3);
CreateDecryptor_IV (size);
}
-
+#if !NET_2_1
[Test]
[ExpectedException (typeof (CryptographicException))]
// Rijndael is the only implementation that has
int size = aes.BlockSize; // 8 times too big
CreateDecryptor_IV (size);
}
+#endif
}
}