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
- SkewTransform.cs
- XamlStyleSerializer.cs
- CodeConstructor.cs
- TreeViewCancelEvent.cs
- PropertyDescriptorCollection.cs
- WebServiceBindingAttribute.cs
- InvokeGenerator.cs
- DataSourceViewSchemaConverter.cs
- Range.cs
- util.cs
- Event.cs
- FormViewInsertEventArgs.cs
- InputProcessorProfiles.cs
- GestureRecognitionResult.cs
- RadioButton.cs
- AnnotationResource.cs
- SiteMapDataSourceView.cs
- indexingfiltermarshaler.cs
- Socket.cs
- DoubleSumAggregationOperator.cs
- ItemChangedEventArgs.cs
- KeyedQueue.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- NeedSkipTokenVisitor.cs
- SqlErrorCollection.cs
- SettingsAttributes.cs
- UIElement3D.cs
- SafeThreadHandle.cs
- WindowProviderWrapper.cs
- NativeMethods.cs
- mactripleDES.cs
- ListenerAdapter.cs
- ProxySimple.cs
- CallbackCorrelationInitializer.cs
- MemberHolder.cs
- IndexedGlyphRun.cs
- Setter.cs
- DrawingGroup.cs
- ProcessThread.cs
- AuthenticateEventArgs.cs
- TraceInternal.cs
- StorageAssociationTypeMapping.cs
- AnonymousIdentificationModule.cs
- DataProviderNameConverter.cs
- EditorZoneBase.cs
- NameValueCollection.cs
- ipaddressinformationcollection.cs
- ReadOnlyNameValueCollection.cs
- FontDialog.cs
- PageOrientation.cs
- SecurityBindingElementImporter.cs
- AdministrationHelpers.cs
- BridgeDataRecord.cs
- UnauthorizedWebPart.cs
- ListDictionary.cs
- DataGridHelper.cs
- ImageButton.cs
- RouteTable.cs
- TouchEventArgs.cs
- CommandSet.cs
- SaveWorkflowCommand.cs
- WrapPanel.cs
- ContractComponent.cs
- EntityDataSourceContextCreatingEventArgs.cs
- CustomValidator.cs
- CompareValidator.cs
- HwndSource.cs
- AttributeExtensions.cs
- LogicalExpressionEditor.cs
- BamlLocalizer.cs
- SiteMapNode.cs
- EntityDataSourceSelectedEventArgs.cs
- StringConverter.cs
- ToolStripDesignerAvailabilityAttribute.cs
- NoClickablePointException.cs
- EntityKey.cs
- ExpressionBuilderCollection.cs
- ReadWriteSpinLock.cs
- ZipIOExtraFieldZip64Element.cs
- elementinformation.cs
- ManagementDateTime.cs
- EventMappingSettings.cs
- TextDecoration.cs
- KeyedHashAlgorithm.cs
- BindUriHelper.cs
- CodePageUtils.cs
- counter.cs
- DictionaryBase.cs
- XmlCharType.cs
- Control.cs
- KeyedByTypeCollection.cs
- Size.cs
- AnnotationHelper.cs
- SourceChangedEventArgs.cs
- ToolboxItemSnapLineBehavior.cs
- KeyNotFoundException.cs
- Configuration.cs
- AutomationAttributeInfo.cs
- SubpageParaClient.cs
- TextRunCacheImp.cs