Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / mscorlib / system / security / cryptography / hmacripemd160.cs
blob8b2aabebda894f8e91e3696f022d682ff24990e2
1 // ==++==
2 //
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 //
5 // ==--==
6 // <OWNER>Microsoft</OWNER>
7 //
9 //
10 // HMACRIPEMD160.cs
13 namespace System.Security.Cryptography {
14 [System.Runtime.InteropServices.ComVisible(true)]
15 public class HMACRIPEMD160 : HMAC {
17 // public constructors
20 public HMACRIPEMD160 () : this (Utils.GenerateRandom(64)) {}
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);