Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA384.cs / 1305376 / HMACSHA384.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // HMACSHA384.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACSHA384 : HMAC { private bool m_useLegacyBlockSize = Utils._ProduceLegacyHmacValues(); // // public constructors // public HMACSHA384 () : this (Utils.GenerateRandom(128)) {} [System.Security.SecuritySafeCritical] // auto-generated public HMACSHA384 (byte[] key) { m_hashName = "SHA384"; m_hash1 = new SHA384Managed(); m_hash2 = new SHA384Managed(); HashSizeValue = 384; BlockSizeValue = BlockSize; base.InitializeKey(key); } private int BlockSize { get { return m_useLegacyBlockSize ? 64 : 128; } } // See code:System.Security.Cryptography.HMACSHA512.ProduceLegacyHmacValues public bool ProduceLegacyHmacValues { get { return m_useLegacyBlockSize; } set { m_useLegacyBlockSize = value; BlockSizeValue = BlockSize; InitializeKey(KeyValue); } } } } // 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
- Wizard.cs
- StaticSiteMapProvider.cs
- NativeMethodsCLR.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DispatcherSynchronizationContext.cs
- ConfigurationSectionGroupCollection.cs
- QilInvokeLateBound.cs
- StylusEditingBehavior.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- COM2PropertyPageUITypeConverter.cs
- InvokeSchedule.cs
- ConnectionInterfaceCollection.cs
- ClosableStream.cs
- TableLayoutStyle.cs
- XmlSchemaSequence.cs
- ReferenceTypeElement.cs
- ListViewEditEventArgs.cs
- LightweightCodeGenerator.cs
- GridItem.cs
- WebServiceErrorEvent.cs
- MultiBinding.cs
- BufferBuilder.cs
- AutomationProperty.cs
- ServiceDebugBehavior.cs
- ToolStripPanelCell.cs
- MetadataItemCollectionFactory.cs
- LinqDataSourceDisposeEventArgs.cs
- BinaryWriter.cs
- SequentialUshortCollection.cs
- AttachedPropertyDescriptor.cs
- CriticalExceptions.cs
- PackageRelationshipSelector.cs
- TreeNodeCollection.cs
- AssertHelper.cs
- TemplatePagerField.cs
- ArgIterator.cs
- OutputCacheSettingsSection.cs
- VolatileEnlistmentState.cs
- PreservationFileReader.cs
- FormClosingEvent.cs
- WebPartConnection.cs
- NetworkAddressChange.cs
- Set.cs
- CacheDependency.cs
- CodeExporter.cs
- Section.cs
- EncryptedKeyIdentifierClause.cs
- CqlLexerHelpers.cs
- AsyncCallback.cs
- DES.cs
- AsymmetricSignatureFormatter.cs
- DataGridCellsPanel.cs
- DrawingContextWalker.cs
- TextSpanModifier.cs
- OracleConnectionStringBuilder.cs
- BufferAllocator.cs
- XmlSchemaSequence.cs
- TextEffect.cs
- DataGridViewRow.cs
- EntityDesignerDataSourceView.cs
- BCLDebug.cs
- SchemaMerger.cs
- XhtmlConformanceSection.cs
- CodeSnippetCompileUnit.cs
- Control.cs
- ExtenderProvidedPropertyAttribute.cs
- ProviderBase.cs
- AudioLevelUpdatedEventArgs.cs
- CountAggregationOperator.cs
- DatePicker.cs
- ObjectViewQueryResultData.cs
- WebPartDisplayModeCancelEventArgs.cs
- PenLineJoinValidation.cs
- Message.cs
- ThrowHelper.cs
- Transform.cs
- HttpChannelBindingToken.cs
- XmlNullResolver.cs
- bidPrivateBase.cs
- MasterPageCodeDomTreeGenerator.cs
- MemberCollection.cs
- xml.cs
- TemplateControlBuildProvider.cs
- TileBrush.cs
- ImageMap.cs
- StaticFileHandler.cs
- HttpRequest.cs
- sqlstateclientmanager.cs
- HttpRequestBase.cs
- TemplateModeChangedEventArgs.cs
- EpmSourcePathSegment.cs
- ObjectStateManager.cs
- CssStyleCollection.cs
- InkCanvasAutomationPeer.cs
- FixedFlowMap.cs
- TextInfo.cs
- TextBounds.cs
- Encoder.cs
- XamlStream.cs
- ClientRuntimeConfig.cs