Enable System.Runtime.Remoting tests on Windows
[mono.git] / mcs / class / referencesource / mscorlib / system / security / cryptography / ripemd160.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 // <OWNER>[....]</OWNER>
7 // 
8
9 //
10 // RIPEMD160.cs
11 //
12
13 namespace System.Security.Cryptography {
14     using System;
15 [System.Runtime.InteropServices.ComVisible(true)]
16     public abstract class RIPEMD160 : HashAlgorithm
17     {
18         //
19         // public constructors
20         //
21
22         protected RIPEMD160()
23         {
24             HashSizeValue = 160;
25         }
26
27         //
28         // public methods
29         //
30
31         new static public RIPEMD160 Create() {
32 #if FULL_AOT_RUNTIME
33             return new System.Security.Cryptography.RIPEMD160Managed ();
34 #else
35             return Create("System.Security.Cryptography.RIPEMD160");
36 #endif
37         }
38
39         new static public RIPEMD160 Create(String hashName) {
40             return (RIPEMD160) CryptoConfig.CreateFromName(hashName);
41         }
42     }
43 }
44