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
- ConstructorExpr.cs
- GetPageNumberCompletedEventArgs.cs
- Canvas.cs
- BaseUriWithWildcard.cs
- DataReceivedEventArgs.cs
- DefaultHttpHandler.cs
- SEHException.cs
- QuadTree.cs
- DecoderExceptionFallback.cs
- ColorPalette.cs
- DataRow.cs
- DefaultPropertiesToSend.cs
- RegistrySecurity.cs
- EpmSyndicationContentDeSerializer.cs
- LocalizabilityAttribute.cs
- VarRefManager.cs
- TreeNodeCollection.cs
- sitestring.cs
- PrimitiveType.cs
- SettingsProperty.cs
- DataAdapter.cs
- ModelVisual3D.cs
- ManifestBasedResourceGroveler.cs
- GridPattern.cs
- ColorContext.cs
- Image.cs
- NameObjectCollectionBase.cs
- CssTextWriter.cs
- StatusBar.cs
- SelectorItemAutomationPeer.cs
- SmtpClient.cs
- XsdCachingReader.cs
- WebPartConnectionsCancelEventArgs.cs
- Avt.cs
- Attributes.cs
- TextServicesCompartment.cs
- EntityDataSourceSelectedEventArgs.cs
- LocatorBase.cs
- HitTestDrawingContextWalker.cs
- SoapCodeExporter.cs
- ConsoleKeyInfo.cs
- HiddenFieldPageStatePersister.cs
- EntityDataSourceDesigner.cs
- String.cs
- XamlPoint3DCollectionSerializer.cs
- CatalogPart.cs
- MetadataWorkspace.cs
- StreamReader.cs
- DataGridViewComponentPropertyGridSite.cs
- XmlSerializerAssemblyAttribute.cs
- ViewStateModeByIdAttribute.cs
- Propagator.JoinPropagator.cs
- FacetValues.cs
- LocalizableAttribute.cs
- WebEventCodes.cs
- EndEvent.cs
- ObjectListSelectEventArgs.cs
- MembershipUser.cs
- RegularExpressionValidator.cs
- ResourceKey.cs
- RepeatInfo.cs
- followingquery.cs
- PageStatePersister.cs
- DateTimeOffset.cs
- ToolStripArrowRenderEventArgs.cs
- CustomAssemblyResolver.cs
- RequiredFieldValidator.cs
- WebPartCollection.cs
- SystemGatewayIPAddressInformation.cs
- SqlServices.cs
- EventListenerClientSide.cs
- UnSafeCharBuffer.cs
- RadioButton.cs
- LinqDataSourceDeleteEventArgs.cs
- RoutedEvent.cs
- ReadOnlyPropertyMetadata.cs
- Baml6Assembly.cs
- AppSecurityManager.cs
- ToolStripTextBox.cs
- ThemeableAttribute.cs
- ResourceReferenceKeyNotFoundException.cs
- PagedDataSource.cs
- LinqDataSourceValidationException.cs
- EndPoint.cs
- FixUpCollection.cs
- FormsAuthentication.cs
- RoutedEventValueSerializer.cs
- TrackingWorkflowEventArgs.cs
- HttpCacheParams.cs
- RenderingBiasValidation.cs
- ContextMenuService.cs
- XmlSerializerOperationFormatter.cs
- StorageRoot.cs
- Operand.cs
- OrderPreservingSpoolingTask.cs
- ClientTargetCollection.cs
- IpcClientManager.cs
- DynamicRendererThreadManager.cs
- RuntimeVariableList.cs
- SafeProcessHandle.cs