Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PassportPrincipal.cs
- EntitySqlException.cs
- RedirectionProxy.cs
- ItemsPanelTemplate.cs
- DynamicResourceExtensionConverter.cs
- HttpPostedFile.cs
- OSFeature.cs
- TextProperties.cs
- ObjectListItem.cs
- WindowsFont.cs
- Stacktrace.cs
- WorkflowTraceTransfer.cs
- ResourceReferenceKeyNotFoundException.cs
- Imaging.cs
- Int64.cs
- SqlProfileProvider.cs
- PropertyOverridesDialog.cs
- BrushProxy.cs
- AvTrace.cs
- PropertyItemInternal.cs
- VisualTarget.cs
- GrammarBuilderDictation.cs
- WindowsFont.cs
- DefaultBinder.cs
- ParserStreamGeometryContext.cs
- WindowsToolbarAsMenu.cs
- CqlLexer.cs
- TextServicesHost.cs
- WrapperEqualityComparer.cs
- Timeline.cs
- ItemCollection.cs
- NameValueCollection.cs
- StorageScalarPropertyMapping.cs
- EndPoint.cs
- RectIndependentAnimationStorage.cs
- NavigationWindowAutomationPeer.cs
- BinaryReader.cs
- GatewayDefinition.cs
- WindowsMenu.cs
- GridViewColumnHeaderAutomationPeer.cs
- OverflowException.cs
- regiisutil.cs
- MemberHolder.cs
- HttpDateParse.cs
- UIElement3D.cs
- ChangeNode.cs
- StylusPointPropertyInfo.cs
- BufferedStream.cs
- ThreadStateException.cs
- DependencyPropertyKey.cs
- WebBrowserUriTypeConverter.cs
- NaturalLanguageHyphenator.cs
- WindowPatternIdentifiers.cs
- ComboBox.cs
- Color.cs
- DriveInfo.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MetadataItemCollectionFactory.cs
- grammarelement.cs
- BindStream.cs
- WeakReadOnlyCollection.cs
- AccessViolationException.cs
- AncillaryOps.cs
- ContentPlaceHolder.cs
- ButtonBaseAutomationPeer.cs
- WindowsEditBox.cs
- SqlNotificationEventArgs.cs
- ExpressionConverter.cs
- SecurityDocument.cs
- AnimationTimeline.cs
- EventProviderWriter.cs
- DataGridItemAttachedStorage.cs
- UserControlCodeDomTreeGenerator.cs
- UnsafeNativeMethods.cs
- TreeNodeMouseHoverEvent.cs
- AnnotationHighlightLayer.cs
- RemotingServices.cs
- WorkflowDesignerColors.cs
- ScriptManagerProxy.cs
- GradientStop.cs
- PointKeyFrameCollection.cs
- ObjectViewListener.cs
- XmlSchema.cs
- HttpCachePolicy.cs
- EventListener.cs
- SemaphoreFullException.cs
- HttpModuleActionCollection.cs
- NoneExcludedImageIndexConverter.cs
- MetadataPropertyCollection.cs
- DesignerExtenders.cs
- RootBuilder.cs
- PeerObject.cs
- AuthorizationRuleCollection.cs
- BeginEvent.cs
- ContextDataSourceView.cs
- FixedPageProcessor.cs
- PageCodeDomTreeGenerator.cs
- Marshal.cs
- DataListItem.cs
- CorrelationTokenInvalidatedHandler.cs