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
- PassportIdentity.cs
- ExpressionPrinter.cs
- WebException.cs
- ResourceDisplayNameAttribute.cs
- WindowsFormsSectionHandler.cs
- OracleException.cs
- XmlIterators.cs
- WindowsToolbar.cs
- ImageFormatConverter.cs
- UserControlCodeDomTreeGenerator.cs
- ApplicationProxyInternal.cs
- HttpWebRequestElement.cs
- MetricEntry.cs
- ellipse.cs
- PriorityQueue.cs
- HtmlTitle.cs
- WorkflowDispatchContext.cs
- TableCell.cs
- XmlQueryStaticData.cs
- ConnectionInterfaceCollection.cs
- UInt16Converter.cs
- SoapWriter.cs
- MobileControlsSection.cs
- EmissiveMaterial.cs
- UnicastIPAddressInformationCollection.cs
- TypeTypeConverter.cs
- StaticExtension.cs
- TypeNameHelper.cs
- ConsoleTraceListener.cs
- FlowLayout.cs
- KnownIds.cs
- ServiceNameElementCollection.cs
- FilePrompt.cs
- TrackingProfileCache.cs
- DESCryptoServiceProvider.cs
- UIElementParagraph.cs
- TextWriter.cs
- GridToolTip.cs
- NativeMethodsOther.cs
- ListViewDeleteEventArgs.cs
- ProcessHostConfigUtils.cs
- DateTimeConstantAttribute.cs
- TabRenderer.cs
- ProfileSettings.cs
- FontUnit.cs
- SqlDataRecord.cs
- DatePicker.cs
- Merger.cs
- VisualStyleElement.cs
- AdapterUtil.cs
- BitmapEffectvisualstate.cs
- HtmlTable.cs
- Exceptions.cs
- DataServiceRequest.cs
- TreeViewHitTestInfo.cs
- MsdtcWrapper.cs
- XmlUrlResolver.cs
- GeneralTransformCollection.cs
- EntitySqlQueryCacheEntry.cs
- CalendarDesigner.cs
- Subordinate.cs
- ReadingWritingEntityEventArgs.cs
- COM2ExtendedBrowsingHandler.cs
- EnvelopedSignatureTransform.cs
- HwndSubclass.cs
- HeaderedItemsControl.cs
- PixelShader.cs
- WindowsToolbarAsMenu.cs
- SchemaInfo.cs
- DataGridViewLinkColumn.cs
- FloatUtil.cs
- ActivityPreviewDesigner.cs
- BindingNavigator.cs
- RegexInterpreter.cs
- ModuleBuilder.cs
- XmlSchemaSimpleTypeList.cs
- CompiledELinqQueryState.cs
- mediaeventshelper.cs
- SystemWebSectionGroup.cs
- Compress.cs
- XamlSerializationHelper.cs
- DataGridViewRowPrePaintEventArgs.cs
- ParallelActivityDesigner.cs
- FieldBuilder.cs
- TypeAccessException.cs
- AnimationStorage.cs
- DbParameterCollectionHelper.cs
- BinaryParser.cs
- TypeNameConverter.cs
- UseLicense.cs
- InvalidFilterCriteriaException.cs
- ObjectQueryState.cs
- Sql8ExpressionRewriter.cs
- GridViewAutoFormat.cs
- DeviceSpecificChoice.cs
- XMLSchema.cs
- WizardStepCollectionEditor.cs
- ClientFactory.cs
- TakeQueryOptionExpression.cs
- PaintValueEventArgs.cs