//\r
// Copyright 2001 by Matthew S. Ford.\r
// Portions (C) 2002 Motus Technologies Inc. (http://www.motus.com)\r
-// (C) 2004 Novell (http://www.novell.com)
-//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2006 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+
+using System.Runtime.InteropServices;
\r
namespace System.Security.Cryptography {\r
+ [ComVisible (true)]
public abstract class SHA256 : HashAlgorithm {\r
- public SHA256 () \r
+ protected SHA256 ()
{\r
HashSizeValue = 256;\r
}\r
\r
public static new SHA256 Create () \r
{\r
+#if FULL_AOT_RUNTIME
+ return new System.Security.Cryptography.SHA256Managed ();
+#else
return Create ("System.Security.Cryptography.SHA256");\r
+#endif
}\r
\r
public static new SHA256 Create (string hashName) \r