Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA384.cs / 2 / 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)) {} public HMACSHA384 (byte[] key) { Utils._ShowLegacyHmacWarning(); 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingBrush.cs
- _HeaderInfoTable.cs
- CodeDelegateCreateExpression.cs
- CustomErrorsSection.cs
- UnsafeNativeMethods.cs
- SchemaTypeEmitter.cs
- FixedSOMTableRow.cs
- ReferenceSchema.cs
- StrokeNode.cs
- EnumConverter.cs
- UnaryOperationBinder.cs
- HtmlInputSubmit.cs
- ECDsaCng.cs
- MethodToken.cs
- SAPIEngineTypes.cs
- FormView.cs
- CustomActivityDesigner.cs
- CallbackValidator.cs
- FixedSOMLineRanges.cs
- StructureChangedEventArgs.cs
- DecimalAnimationUsingKeyFrames.cs
- SetIterators.cs
- StackBuilderSink.cs
- EasingFunctionBase.cs
- XmlProcessingInstruction.cs
- DbProviderFactories.cs
- SQLDoubleStorage.cs
- UrlMappingsSection.cs
- InputProcessorProfiles.cs
- OracleColumn.cs
- NamespaceCollection.cs
- UriScheme.cs
- EventBuilder.cs
- WeakRefEnumerator.cs
- CompositeCollectionView.cs
- MaskedTextProvider.cs
- HasRunnableWorkflowEvent.cs
- ExceptionHelpers.cs
- ObjectListFieldCollection.cs
- WebPartDescription.cs
- SplitContainer.cs
- Restrictions.cs
- ChannelTracker.cs
- AspNetHostingPermission.cs
- LoginView.cs
- CommentEmitter.cs
- BooleanFunctions.cs
- SqlBooleanizer.cs
- SocketException.cs
- FontFamily.cs
- FirstMatchCodeGroup.cs
- HttpProcessUtility.cs
- CompareValidator.cs
- DesignerVerbToolStripMenuItem.cs
- ResourceKey.cs
- FormParameter.cs
- EditorZoneBase.cs
- PackWebRequestFactory.cs
- IDictionary.cs
- DelayedRegex.cs
- FileAuthorizationModule.cs
- RequestBringIntoViewEventArgs.cs
- HtmlTitle.cs
- RewritingSimplifier.cs
- XmlCollation.cs
- Item.cs
- JsonDeserializer.cs
- PointHitTestParameters.cs
- TaskHelper.cs
- ConfigurationManagerHelper.cs
- SynchronizationContext.cs
- BinaryNode.cs
- ContainerControl.cs
- ExpanderAutomationPeer.cs
- ExpressionBuilderContext.cs
- DataMemberListEditor.cs
- DataGridViewMethods.cs
- TextFormatter.cs
- PartialCachingControl.cs
- _Connection.cs
- OdbcConnectionFactory.cs
- TypographyProperties.cs
- AttachInfo.cs
- HandoffBehavior.cs
- DecimalConstantAttribute.cs
- TabletDeviceInfo.cs
- QilStrConcatenator.cs
- HeaderElement.cs
- BamlRecordReader.cs
- StateMachineWorkflowDesigner.cs
- WindowsStatic.cs
- InvalidateEvent.cs
- X509CertificateClaimSet.cs
- DataGridViewCell.cs
- TempEnvironment.cs
- RsaKeyIdentifierClause.cs
- PrintDialog.cs
- KeyManager.cs
- RIPEMD160Managed.cs
- TextDpi.cs