2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Security.Cryptography / HMACSHA384.cs
1 //
2 // HMACSHA384.cs: HMAC implementation using SHA384
3 //
4 // Author:
5 //      Sebastien Pouliot (spouliot@motus.com)
6 //
7 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
8 //
9
10 #if NET_2_0
11
12 using System;
13
14 using Mono.Security.Cryptography;
15
16 namespace System.Security.Cryptography {
17
18         public class HMACSHA384 : HMAC {
19
20                 public HMACSHA384 () : this (KeyBuilder.Key (8)) {}
21
22                 public HMACSHA384 (byte[] rgbKey) : base () 
23                 {
24                         HashName = "SHA384";
25                         HashSizeValue = 384;
26                         Key = rgbKey;
27                 }
28
29                 ~HMACSHA384 () 
30                 {
31                         Dispose (false);
32                 }
33         }
34 }
35
36 #endif