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
- ListViewItemSelectionChangedEvent.cs
- QueryStringParameter.cs
- RuntimeArgumentHandle.cs
- RevocationPoint.cs
- BindableTemplateBuilder.cs
- WorkflowTraceTransfer.cs
- TempFiles.cs
- DiscoveryClientReferences.cs
- HierarchicalDataBoundControl.cs
- WebReferenceCollection.cs
- CollectionType.cs
- NativeMethods.cs
- COM2Properties.cs
- WindowInteropHelper.cs
- PartialCachingControl.cs
- Crypto.cs
- SystemIPInterfaceProperties.cs
- TextRange.cs
- RulePatternOps.cs
- ApplicationDirectory.cs
- basevalidator.cs
- TimeIntervalCollection.cs
- XmlSchemaSimpleTypeUnion.cs
- SqlDependencyListener.cs
- ContextCorrelationInitializer.cs
- ImageCodecInfoPrivate.cs
- PeerInvitationResponse.cs
- XPathParser.cs
- BezierSegment.cs
- XmlImplementation.cs
- JoinTreeSlot.cs
- input.cs
- TemplatePropertyEntry.cs
- BeginEvent.cs
- PolyLineSegment.cs
- Odbc32.cs
- UnsafeNativeMethods.cs
- XmlSchemaGroupRef.cs
- MDIControlStrip.cs
- ArcSegment.cs
- SQlBooleanStorage.cs
- WebMessageFormatHelper.cs
- VariantWrapper.cs
- DbgUtil.cs
- Application.cs
- ChannelTraceRecord.cs
- BasicCommandTreeVisitor.cs
- TextAdaptor.cs
- CmsInterop.cs
- XhtmlTextWriter.cs
- PseudoWebRequest.cs
- TableLayout.cs
- UrlPath.cs
- TextRangeProviderWrapper.cs
- ToolStripLocationCancelEventArgs.cs
- LongValidatorAttribute.cs
- PerformanceCounterPermission.cs
- DrawToolTipEventArgs.cs
- TreeNodeConverter.cs
- __Filters.cs
- Vector.cs
- GridViewSortEventArgs.cs
- OleDbError.cs
- HttpCacheVary.cs
- TraceHwndHost.cs
- WebPartZone.cs
- WebConfigurationHostFileChange.cs
- SafeReversePInvokeHandle.cs
- ServiceElement.cs
- DebuggerService.cs
- MultipartContentParser.cs
- DataGridViewComboBoxEditingControl.cs
- SizeAnimationBase.cs
- EmptyEnumerator.cs
- ButtonBase.cs
- InternalPermissions.cs
- ToolBarDesigner.cs
- RowsCopiedEventArgs.cs
- AccessibleObject.cs
- GroupBox.cs
- XpsDigitalSignature.cs
- ButtonRenderer.cs
- DateTimeOffset.cs
- WmpBitmapEncoder.cs
- ToolZone.cs
- CaseStatementSlot.cs
- XmlWellformedWriter.cs
- ChameleonKey.cs
- HtmlFormParameterWriter.cs
- NativeMethods.cs
- DataSourceView.cs
- TagPrefixInfo.cs
- ToolBarOverflowPanel.cs
- AttributeAction.cs
- DataMisalignedException.cs
- ExternalFile.cs
- CompositeDataBoundControl.cs
- WebDescriptionAttribute.cs
- DataServiceProviderWrapper.cs
- PageCache.cs