Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TimeSpanValidatorAttribute.cs
- Point3DConverter.cs
- StyleTypedPropertyAttribute.cs
- RuleConditionDialog.cs
- InvokePatternIdentifiers.cs
- RootDesignerSerializerAttribute.cs
- ImpersonationContext.cs
- UnsafeNativeMethods.cs
- XmlSchemaProviderAttribute.cs
- MouseOverProperty.cs
- Path.cs
- LineServicesRun.cs
- RangeValueProviderWrapper.cs
- OdbcParameterCollection.cs
- DeferrableContentConverter.cs
- InternalPermissions.cs
- WebMessageEncodingElement.cs
- TextInfo.cs
- DataViewSetting.cs
- ScriptReferenceBase.cs
- ReaderContextStackData.cs
- TypeSystem.cs
- TableRow.cs
- EventLogPermission.cs
- CaseExpr.cs
- BindUriHelper.cs
- WeakReadOnlyCollection.cs
- InputProviderSite.cs
- XmlDataSource.cs
- TextElementCollection.cs
- ServiceElement.cs
- RootProfilePropertySettingsCollection.cs
- XPathLexer.cs
- ComAdminInterfaces.cs
- ColumnHeaderConverter.cs
- DocumentViewerBase.cs
- DrawingImage.cs
- HtmlTableRowCollection.cs
- QuaternionKeyFrameCollection.cs
- KeyFrames.cs
- Geometry.cs
- CommandID.cs
- ReadOnlyHierarchicalDataSource.cs
- PowerModeChangedEventArgs.cs
- RIPEMD160.cs
- FontClient.cs
- ConstraintEnumerator.cs
- StoreAnnotationsMap.cs
- StylusPlugin.cs
- PathParser.cs
- GlyphRunDrawing.cs
- CachedCompositeFamily.cs
- WebErrorHandler.cs
- XmlSchemaObject.cs
- WpfKnownTypeInvoker.cs
- DataControlFieldCollection.cs
- ValueTable.cs
- StructuredTypeEmitter.cs
- SizeAnimationUsingKeyFrames.cs
- RowCache.cs
- Regex.cs
- DetailsViewPagerRow.cs
- MsmqMessage.cs
- PasswordTextNavigator.cs
- XmlDigitalSignatureProcessor.cs
- DbConnectionPoolGroup.cs
- LinqDataSourceInsertEventArgs.cs
- PrimitiveXmlSerializers.cs
- Int16KeyFrameCollection.cs
- CodeCatchClauseCollection.cs
- PromptStyle.cs
- ConfigurationElementCollection.cs
- DragDropHelper.cs
- XmlEncodedRawTextWriter.cs
- RegularExpressionValidator.cs
- AnnotationHelper.cs
- ContactManager.cs
- DataGridLinkButton.cs
- RegistryHandle.cs
- LogManagementAsyncResult.cs
- ClientScriptManager.cs
- UpdateTracker.cs
- MediaPlayer.cs
- ComAwareEventInfo.cs
- Root.cs
- Border.cs
- OneOfElement.cs
- ImageListDesigner.cs
- RawKeyboardInputReport.cs
- Automation.cs
- GetCertificateRequest.cs
- DataMemberConverter.cs
- CustomAttributeFormatException.cs
- EntityCommandDefinition.cs
- PointCollection.cs
- FlowDocumentView.cs
- TextFindEngine.cs
- FacetValueContainer.cs
- LateBoundBitmapDecoder.cs
- VectorAnimationBase.cs