Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA256.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripItemCollection.cs
- HttpPostedFileWrapper.cs
- ValidationEventArgs.cs
- PrimitiveSchema.cs
- Internal.cs
- DialogBaseForm.cs
- X509Extension.cs
- BrowserInteropHelper.cs
- OleDbDataAdapter.cs
- PaperSize.cs
- IInstanceTable.cs
- CompilerGeneratedAttribute.cs
- DependencyPropertyDescriptor.cs
- SplitterEvent.cs
- CodeTypeParameterCollection.cs
- AspNetHostingPermission.cs
- TextSimpleMarkerProperties.cs
- CaseStatement.cs
- SQLDoubleStorage.cs
- HtmlInputHidden.cs
- PassportPrincipal.cs
- DataSource.cs
- ParseNumbers.cs
- _AuthenticationState.cs
- DecimalStorage.cs
- SafeNativeMemoryHandle.cs
- SchemaMapping.cs
- SplashScreen.cs
- DefaultHttpHandler.cs
- DataRecordInternal.cs
- AffineTransform3D.cs
- ActivityDesigner.cs
- SelectionProviderWrapper.cs
- Int32RectConverter.cs
- baseshape.cs
- WebPartHeaderCloseVerb.cs
- UnicodeEncoding.cs
- BulletedList.cs
- SafeArrayTypeMismatchException.cs
- AnnotationDocumentPaginator.cs
- SubMenuStyleCollection.cs
- AudioStateChangedEventArgs.cs
- PropertyGroupDescription.cs
- DataServiceOperationContext.cs
- QilExpression.cs
- SingletonConnectionReader.cs
- ScriptResourceDefinition.cs
- MenuBindingsEditor.cs
- RedistVersionInfo.cs
- DescendantOverDescendantQuery.cs
- DataGridViewColumn.cs
- DataGridViewComboBoxColumn.cs
- IntranetCredentialPolicy.cs
- ProgressBarHighlightConverter.cs
- GifBitmapEncoder.cs
- DataGridViewCellStyle.cs
- Point4DConverter.cs
- AssemblyResolver.cs
- ExtensionFile.cs
- SqlBooleanizer.cs
- GridViewColumnHeaderAutomationPeer.cs
- MainMenu.cs
- DataExchangeServiceBinder.cs
- CompatibleComparer.cs
- PageEventArgs.cs
- DigestTraceRecordHelper.cs
- StreamMarshaler.cs
- SecurityDescriptor.cs
- CodeExporter.cs
- KeyConstraint.cs
- PolicyUnit.cs
- BuildManagerHost.cs
- ListBoxItemWrapperAutomationPeer.cs
- TextPenaltyModule.cs
- GridViewRowCollection.cs
- HttpCachePolicy.cs
- PipelineModuleStepContainer.cs
- HtmlInputText.cs
- XmlNodeReader.cs
- RuntimeArgumentHandle.cs
- DbParameterCollectionHelper.cs
- DrawToolTipEventArgs.cs
- RC2CryptoServiceProvider.cs
- SqlMethodTransformer.cs
- PngBitmapDecoder.cs
- EncodingDataItem.cs
- ProviderBase.cs
- RegexInterpreter.cs
- MarkupCompilePass2.cs
- PTConverter.cs
- MultiTrigger.cs
- PageRanges.cs
- xmlfixedPageInfo.cs
- WmlCalendarAdapter.cs
- Msec.cs
- Baml2006KeyRecord.cs
- StringValidator.cs
- DataErrorValidationRule.cs
- SafeNativeMethods.cs
- SoapTypeAttribute.cs