Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Security / Cryptography / HMACMD5.cs / 1 / 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
- NamedPipeChannelFactory.cs
- StrokeSerializer.cs
- LinearQuaternionKeyFrame.cs
- FloaterParagraph.cs
- PasswordDeriveBytes.cs
- KeyInstance.cs
- Debug.cs
- GroupBoxRenderer.cs
- TickBar.cs
- Point3DAnimationUsingKeyFrames.cs
- _ListenerResponseStream.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MetadataUtil.cs
- ExtendedProtectionPolicyTypeConverter.cs
- ExtensibleClassFactory.cs
- NameObjectCollectionBase.cs
- EncoderFallback.cs
- TableColumn.cs
- BaseTreeIterator.cs
- FilteredSchemaElementLookUpTable.cs
- ParseHttpDate.cs
- TagPrefixCollection.cs
- Setter.cs
- SpellCheck.cs
- FixedPageStructure.cs
- SwitchCase.cs
- Font.cs
- SoapUnknownHeader.cs
- CollectionsUtil.cs
- LongPath.cs
- ScriptComponentDescriptor.cs
- CriticalHandle.cs
- ListDesigner.cs
- SqlDataSourceCache.cs
- GridViewPageEventArgs.cs
- LabelLiteral.cs
- SiteIdentityPermission.cs
- QuotedPrintableStream.cs
- ContextMenuStrip.cs
- ResXFileRef.cs
- parserscommon.cs
- TypeForwardedFromAttribute.cs
- IIS7WorkerRequest.cs
- CopyAttributesAction.cs
- XmlCountingReader.cs
- StandardOleMarshalObject.cs
- CompareValidator.cs
- NumericPagerField.cs
- CompoundFileReference.cs
- Track.cs
- TypefaceMetricsCache.cs
- OdbcEnvironment.cs
- DelegateTypeInfo.cs
- PersonalizationStateInfoCollection.cs
- DoubleAnimationClockResource.cs
- WindowsFormsHostAutomationPeer.cs
- SafeRightsManagementSessionHandle.cs
- PropertyEmitterBase.cs
- CompiledQueryCacheKey.cs
- CacheOutputQuery.cs
- AddInAdapter.cs
- Error.cs
- SoapSchemaImporter.cs
- Mappings.cs
- EntityDataSourceWizardForm.cs
- DrawingCollection.cs
- DecoderReplacementFallback.cs
- LayoutEvent.cs
- SystemNetworkInterface.cs
- GridViewUpdatedEventArgs.cs
- TextChange.cs
- CacheOutputQuery.cs
- KeyInterop.cs
- NopReturnReader.cs
- ProcessMessagesAsyncResult.cs
- MetafileHeader.cs
- RayMeshGeometry3DHitTestResult.cs
- CaseInsensitiveComparer.cs
- CustomLineCap.cs
- Point3D.cs
- UiaCoreProviderApi.cs
- NavigatingCancelEventArgs.cs
- DbReferenceCollection.cs
- HttpCacheVary.cs
- WebPartUserCapability.cs
- NumberFormatInfo.cs
- UIAgentCrashedException.cs
- XmlTextReaderImpl.cs
- RangeBase.cs
- TailCallAnalyzer.cs
- Item.cs
- ProxyElement.cs
- Authorization.cs
- AutomationPeer.cs
- FormattedTextSymbols.cs
- DockPatternIdentifiers.cs
- PlaceHolder.cs
- ReplyAdapterChannelListener.cs
- HtmlShimManager.cs
- CodeLinePragma.cs