991d877ff7e3da2aea66d1295126b2bd488d7b7f
[mono.git] / mcs / class / referencesource / mscorlib / system / security / cryptography / hmacripemd160.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 // <OWNER>[....]</OWNER>
7 // 
8
9 //
10 // HMACRIPEMD160.cs
11 //
12
13 namespace System.Security.Cryptography {
14     [System.Runtime.InteropServices.ComVisible(true)]
15     public class HMACRIPEMD160 : HMAC {
16         //
17         // public constructors
18         //
19
20         public HMACRIPEMD160 () : this (Utils.GenerateRandom(64)) {}
21
22         public HMACRIPEMD160 (byte[] key) {
23             m_hashName = "RIPEMD160";
24             m_hash1 = new RIPEMD160Managed();
25             m_hash2 = new RIPEMD160Managed();
26             HashSizeValue = 160;
27             base.InitializeKey(key);
28         }
29     }
30 }