Reverted my latest workaround in these files. The corresponding bug in MCS
[mono.git] / mcs / class / corlib / System.Security.Cryptography / SHA512.cs
1 //\r
2 // System.Security.Cryptography SHA512 Class implementation\r
3 //\r
4 // Authors:\r
5 //   Matthew S. Ford (Matthew.S.Ford@Rose-Hulman.Edu)\r
6 //\r
7 // Copyright 2001 by Matthew S. Ford.\r
8 //\r
9 \r
10 \r
11 using System.Security.Cryptography;\r
12 \r
13 namespace System.Security.Cryptography {\r
14         \r
15         /// <summary>\r
16         /// Common base class for all derived SHA512 iplementations.\r
17         /// </summary>\r
18         public abstract class SHA512 : HashAlgorithm {\r
19                 \r
20                 /// <summary>\r
21                 /// Called from constructor of derived class.\r
22                 /// </summary>\r
23                 public SHA512 () {\r
24                 \r
25                 }\r
26 \r
27         \r
28                 /// <summary>\r
29                 /// Creates the default derived class.\r
30                 /// </summary>\r
31                 public static new SHA512 Create () {\r
32                         return new SHA512Managed();\r
33                 }\r
34         \r
35                 /// <summary>\r
36                 /// Creates a new derived class.\r
37                 /// </summary>\r
38                 /// <param name="st">FIXME: No clue.  Specifies which derived class to create?</param>\r
39                 [MonoTODO]\r
40                 public static new SHA512 Create (string st) {\r
41                         return Create();\r
42                 }\r
43         }\r
44 }\r
45 \r