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
- RowsCopiedEventArgs.cs
- ManagementClass.cs
- DataKey.cs
- ImageListUtils.cs
- TransformerInfo.cs
- MaxMessageSizeStream.cs
- BinaryOperationBinder.cs
- HttpCachePolicyBase.cs
- TrustManager.cs
- TextEmbeddedObject.cs
- ExpressionBuilderContext.cs
- OletxResourceManager.cs
- PerformanceCountersElement.cs
- Descriptor.cs
- Pool.cs
- XPathScanner.cs
- PageAsyncTaskManager.cs
- AuthenticationManager.cs
- MemoryPressure.cs
- XamlTemplateSerializer.cs
- SuppressIldasmAttribute.cs
- SevenBitStream.cs
- InternalConfigEventArgs.cs
- ELinqQueryState.cs
- sqlstateclientmanager.cs
- ResourceExpressionBuilder.cs
- FacetDescription.cs
- AccessControlList.cs
- ListViewEditEventArgs.cs
- GeneratedCodeAttribute.cs
- MailMessageEventArgs.cs
- ObjectDataSourceView.cs
- XmlObjectSerializerReadContext.cs
- ISO2022Encoding.cs
- CSharpCodeProvider.cs
- NotImplementedException.cs
- X509ChainPolicy.cs
- TextChangedEventArgs.cs
- UserNamePasswordValidator.cs
- InputLanguageSource.cs
- ZipIOModeEnforcingStream.cs
- DataColumnChangeEvent.cs
- GradientStopCollection.cs
- DocComment.cs
- ContentTextAutomationPeer.cs
- BuildProviderAppliesToAttribute.cs
- XamlValidatingReader.cs
- LayoutSettings.cs
- DockPattern.cs
- XmlCollation.cs
- RangeEnumerable.cs
- _ContextAwareResult.cs
- nulltextcontainer.cs
- ScrollBar.cs
- PackagePart.cs
- _StreamFramer.cs
- UnknownBitmapEncoder.cs
- SelectionEditingBehavior.cs
- ResourceAttributes.cs
- UnknownBitmapDecoder.cs
- XmlSchemaSimpleTypeUnion.cs
- IntranetCredentialPolicy.cs
- PenLineCapValidation.cs
- CommandBindingCollection.cs
- CacheHelper.cs
- XmlSchemaAnnotation.cs
- ContentType.cs
- PartManifestEntry.cs
- SoapMessage.cs
- ListViewUpdateEventArgs.cs
- VBCodeProvider.cs
- PageSettings.cs
- PeerCollaboration.cs
- WizardStepBase.cs
- FormViewDeleteEventArgs.cs
- TextBoxRenderer.cs
- ComplexPropertyEntry.cs
- Timer.cs
- SmtpFailedRecipientException.cs
- StatusBar.cs
- Command.cs
- PreviewPrintController.cs
- ObjectAnimationBase.cs
- Visual.cs
- GridViewDeleteEventArgs.cs
- AdornerHitTestResult.cs
- DownloadProgressEventArgs.cs
- SafeRightsManagementPubHandle.cs
- StylusPointPropertyUnit.cs
- ISFTagAndGuidCache.cs
- ListItemViewAttribute.cs
- HttpListenerException.cs
- ThrowHelper.cs
- WindowsFormsHostAutomationPeer.cs
- Errors.cs
- unsafenativemethodsother.cs
- PrintController.cs
- CellRelation.cs
- TrackingConditionCollection.cs
- ExtensionSimplifierMarkupObject.cs