Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA256.cs / 1 / 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
- ContentIterators.cs
- CodeTypeParameter.cs
- _ContextAwareResult.cs
- KeyFrames.cs
- ConvertEvent.cs
- QueryPageSettingsEventArgs.cs
- ModelItemDictionary.cs
- WindowsSlider.cs
- SchemaManager.cs
- XamlToRtfWriter.cs
- SafeHandles.cs
- StructuralCache.cs
- WebPartConnectionsEventArgs.cs
- QuotaThrottle.cs
- RegisteredArrayDeclaration.cs
- AutomationElement.cs
- BuilderElements.cs
- ToolStripItemCollection.cs
- ToolStripGrip.cs
- AuthenticationException.cs
- XmlMembersMapping.cs
- PropertyCollection.cs
- SessionIDManager.cs
- PersistenceMetadataNamespace.cs
- CompoundFileStorageReference.cs
- TypedDatasetGenerator.cs
- RoleGroupCollection.cs
- PeerUnsafeNativeCryptMethods.cs
- SocketPermission.cs
- BindMarkupExtensionSerializer.cs
- ComponentChangedEvent.cs
- OpenTypeCommon.cs
- ToolStripPanel.cs
- VisualProxy.cs
- figurelength.cs
- SrgsNameValueTag.cs
- Quaternion.cs
- ReflectionServiceProvider.cs
- WebEncodingValidator.cs
- WebServiceEnumData.cs
- FontDialog.cs
- ZipIOModeEnforcingStream.cs
- ImageMapEventArgs.cs
- QuotedPrintableStream.cs
- ExclusiveHandleList.cs
- CryptoStream.cs
- UrlMappingCollection.cs
- DocumentXmlWriter.cs
- TextElementEditingBehaviorAttribute.cs
- CommandSet.cs
- ImportStoreException.cs
- MultiViewDesigner.cs
- CurrentTimeZone.cs
- HuffmanTree.cs
- shaper.cs
- WebBrowserBase.cs
- nulltextcontainer.cs
- PrtCap_Base.cs
- VScrollProperties.cs
- PenLineJoinValidation.cs
- AttachedAnnotationChangedEventArgs.cs
- WindowsToolbar.cs
- DynamicField.cs
- ListViewContainer.cs
- DataGridTableCollection.cs
- XPathAncestorIterator.cs
- TrackingDataItemValue.cs
- dataprotectionpermission.cs
- DeferredReference.cs
- StructuredProperty.cs
- WindowsUpDown.cs
- WebBaseEventKeyComparer.cs
- SystemInformation.cs
- SocketInformation.cs
- ProxyWebPart.cs
- SocketPermission.cs
- SoapObjectReader.cs
- ClonableStack.cs
- ConnectAlgorithms.cs
- BufferedGraphicsContext.cs
- UInt16Storage.cs
- HijriCalendar.cs
- ExpressionConverter.cs
- DataSourceControlBuilder.cs
- MetabaseReader.cs
- ParallelTimeline.cs
- ConnectorSelectionGlyph.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DataGridPageChangedEventArgs.cs
- Grant.cs
- WorkflowInstanceProvider.cs
- Misc.cs
- CompilerError.cs
- RuntimeConfigLKG.cs
- SqlConnectionStringBuilder.cs
- ExceptionHandler.cs
- SrgsSubset.cs
- FixedPage.cs
- X509Utils.cs
- Drawing.cs