Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA256.cs / 1305376 / HMACSHA256.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // HMACSHA256.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACSHA256 : HMAC { // // public constructors // public HMACSHA256 () : this (Utils.GenerateRandom(64)) {} public HMACSHA256 (byte[] key) { m_hashName = "SHA256"; m_hash1 = new SHA256Managed(); m_hash2 = new SHA256Managed(); HashSizeValue = 256; base.InitializeKey(key); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // HMACSHA256.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACSHA256 : HMAC { // // public constructors // public HMACSHA256 () : this (Utils.GenerateRandom(64)) {} public HMACSHA256 (byte[] key) { m_hashName = "SHA256"; m_hash1 = new SHA256Managed(); m_hash2 = new SHA256Managed(); HashSizeValue = 256; 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
- ListBoxAutomationPeer.cs
- XmlNotation.cs
- PageContentCollection.cs
- HttpHandlerAction.cs
- PropertyGridCommands.cs
- WebBrowserNavigatingEventHandler.cs
- NetNamedPipeBindingElement.cs
- SafeMILHandleMemoryPressure.cs
- StreamInfo.cs
- StorageRoot.cs
- CacheMemory.cs
- XmlNotation.cs
- MeshGeometry3D.cs
- Visual3D.cs
- MaskedTextBoxDesigner.cs
- FixedBufferAttribute.cs
- DataServiceRequestException.cs
- AddInIpcChannel.cs
- QuerySubExprEliminator.cs
- DocumentationServerProtocol.cs
- ThemeDictionaryExtension.cs
- UnsafePeerToPeerMethods.cs
- Matrix3DConverter.cs
- ConvertTextFrag.cs
- Int32Animation.cs
- HttpApplicationFactory.cs
- ProgressChangedEventArgs.cs
- AspCompat.cs
- IconConverter.cs
- XmlSchemas.cs
- DataColumnMapping.cs
- SafeLocalAllocation.cs
- NavigationService.cs
- ConfigurationElementProperty.cs
- MetafileHeaderWmf.cs
- CodeExpressionCollection.cs
- SynchronizedReadOnlyCollection.cs
- RtType.cs
- DeadCharTextComposition.cs
- LineSegment.cs
- WebBrowserNavigatingEventHandler.cs
- WebPartManagerInternals.cs
- CodeDirectoryCompiler.cs
- ComboBox.cs
- HScrollProperties.cs
- panel.cs
- HtmlSelect.cs
- WindowsListViewItemStartMenu.cs
- FontSourceCollection.cs
- LineGeometry.cs
- ColorDialog.cs
- DataGridTableStyleMappingNameEditor.cs
- ServiceProviders.cs
- FixedFlowMap.cs
- XsltArgumentList.cs
- SiteMapNodeCollection.cs
- XmlSchemaChoice.cs
- NetSectionGroup.cs
- MaterializeFromAtom.cs
- TextEvent.cs
- RegexWriter.cs
- RadialGradientBrush.cs
- XmlAttributeOverrides.cs
- IssuedSecurityTokenParameters.cs
- ConfigXmlWhitespace.cs
- RedirectionProxy.cs
- Span.cs
- XmlDataImplementation.cs
- GridItemPattern.cs
- StrokeCollectionConverter.cs
- GradientBrush.cs
- BufferBuilder.cs
- ProviderManager.cs
- ItemsPresenter.cs
- DataSourceView.cs
- SizeLimitedCache.cs
- XPathNodeIterator.cs
- LoginAutoFormat.cs
- CodeExpressionStatement.cs
- RecordBuilder.cs
- HwndSource.cs
- NamedPipeConnectionPoolSettingsElement.cs
- ToolBar.cs
- AmbientLight.cs
- BindToObject.cs
- Pen.cs
- HandlerBase.cs
- InfoCardTraceRecord.cs
- DependencyPropertyKey.cs
- FacetValueContainer.cs
- SlotInfo.cs
- XmlILAnnotation.cs
- COMException.cs
- ThemeableAttribute.cs
- RequestCachePolicy.cs
- DataGridTablesFactory.cs
- SerializationAttributes.cs
- DbDataRecord.cs
- AttributeCollection.cs
- RootProfilePropertySettingsCollection.cs