Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / HMACMD5.cs / 1305376 / HMACMD5.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// [....]
//
//
// HMACMD5.cs
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public class HMACMD5 : HMAC {
//
// public constructors
//
public HMACMD5 () : this (Utils.GenerateRandom(64)) {}
public HMACMD5 (byte[] key) {
m_hashName = "MD5";
m_hash1 = new MD5CryptoServiceProvider();
m_hash2 = new MD5CryptoServiceProvider();
HashSizeValue = 128;
base.InitializeKey(key);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// [....]
//
//
// HMACMD5.cs
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public class HMACMD5 : HMAC {
//
// public constructors
//
public HMACMD5 () : this (Utils.GenerateRandom(64)) {}
public HMACMD5 (byte[] key) {
m_hashName = "MD5";
m_hash1 = new MD5CryptoServiceProvider();
m_hash2 = new MD5CryptoServiceProvider();
HashSizeValue = 128;
base.InitializeKey(key);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CopyOnWriteList.cs
- TypeListConverter.cs
- DateTimeOffsetConverter.cs
- WindowsContainer.cs
- BinaryCommonClasses.cs
- DiscoveryClientProtocol.cs
- PLINQETWProvider.cs
- PageAdapter.cs
- BinaryFormatterWriter.cs
- RoutingService.cs
- Geometry3D.cs
- SlipBehavior.cs
- EnumMemberAttribute.cs
- ContextToken.cs
- TemplatePagerField.cs
- XmlDataContract.cs
- SafeRightsManagementSessionHandle.cs
- ReadOnlyHierarchicalDataSourceView.cs
- IpcServerChannel.cs
- HtmlElementErrorEventArgs.cs
- ParserContext.cs
- RpcResponse.cs
- UriSectionReader.cs
- UnionCodeGroup.cs
- RawStylusInputReport.cs
- DesignerView.cs
- EventLogRecord.cs
- SqlCacheDependencySection.cs
- PerfCounterSection.cs
- BindingExpressionUncommonField.cs
- HttpRawResponse.cs
- TargetControlTypeCache.cs
- CommandHelpers.cs
- _HTTPDateParse.cs
- documentsequencetextcontainer.cs
- CharStorage.cs
- SiteMapSection.cs
- BamlBinaryReader.cs
- HtmlImage.cs
- DelegateHelpers.cs
- DirectoryNotFoundException.cs
- DataControlLinkButton.cs
- XmlSchemaAnnotated.cs
- OleDbCommandBuilder.cs
- SqlDependencyUtils.cs
- TemplateManager.cs
- RuntimeWrappedException.cs
- ValueSerializer.cs
- printdlgexmarshaler.cs
- MulticastOption.cs
- Message.cs
- documentsequencetextpointer.cs
- FragmentQueryProcessor.cs
- MailWriter.cs
- InternalDispatchObject.cs
- ValueUnavailableException.cs
- WebPartDisplayMode.cs
- COMException.cs
- GridSplitter.cs
- SafeRightsManagementSessionHandle.cs
- EventLogger.cs
- BridgeDataRecord.cs
- DoubleUtil.cs
- ClientFormsAuthenticationCredentials.cs
- StylusPlugInCollection.cs
- ExpressionBuilder.cs
- NavigationCommands.cs
- ScalarConstant.cs
- ProxyElement.cs
- MachineKeySection.cs
- MaterialGroup.cs
- Brush.cs
- CdpEqualityComparer.cs
- UrlMapping.cs
- Compensate.cs
- WindowsFormsHelpers.cs
- DbSetClause.cs
- TextFormatterImp.cs
- RuntimeIdentifierPropertyAttribute.cs
- WindowAutomationPeer.cs
- BoundsDrawingContextWalker.cs
- SafeSystemMetrics.cs
- StylusPoint.cs
- XmlTypeMapping.cs
- ControlPropertyNameConverter.cs
- DataGridHyperlinkColumn.cs
- HttpChannelFactory.cs
- dbdatarecord.cs
- NodeLabelEditEvent.cs
- SoapProtocolImporter.cs
- DictionaryEntry.cs
- KnownColorTable.cs
- XmlWrappingReader.cs
- BlockUIContainer.cs
- SamlSubject.cs
- RegistryDataKey.cs
- Slider.cs
- SiteMapNodeItemEventArgs.cs
- MarkupExtensionSerializer.cs
- Cell.cs