{
ModeValue = CipherMode.CBC;
PaddingValue = PaddingMode.PKCS7;
- m_disposed = false;
}
-#if MOONLIGHT
- // No Finalizer or IDisposable.Dispose in Silverlight 2.0
- // Documentation makes it "clear" that Clear MUST BE CALLED to zero out sensitive information
-#else
- ~SymmetricAlgorithm ()
- {
- Dispose (false);
- }
-#endif
-
#if NET_4_0
public void Dispose ()
#else
// LAMESPEC: Default is Rijndael - not TripleDES
public static SymmetricAlgorithm Create ()
{
+#if FULL_AOT_RUNTIME
+ return new System.Security.Cryptography.RijndaelManaged ();
+#else
return Create ("System.Security.Cryptography.SymmetricAlgorithm");
+#endif
}
public static SymmetricAlgorithm Create (string algName)