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
- ExecutionTracker.cs
- CustomActivityDesigner.cs
- OracleCommandSet.cs
- XhtmlMobileTextWriter.cs
- RootBuilder.cs
- MatrixIndependentAnimationStorage.cs
- parserscommon.cs
- HyperLinkColumn.cs
- JournalEntryListConverter.cs
- KeyboardEventArgs.cs
- ArcSegment.cs
- XmlSchemas.cs
- RemotingServices.cs
- XmlNodeChangedEventArgs.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- TabControlCancelEvent.cs
- PtsHelper.cs
- FileIOPermission.cs
- TextViewSelectionProcessor.cs
- BitmapEffectCollection.cs
- Preprocessor.cs
- PrintDialog.cs
- cache.cs
- CodeTypeOfExpression.cs
- ColumnHeaderConverter.cs
- autovalidator.cs
- ArgumentDirectionHelper.cs
- PropertyRef.cs
- AssertSection.cs
- ZipIOExtraFieldElement.cs
- CultureMapper.cs
- TextServicesCompartment.cs
- LinearGradientBrush.cs
- CaseStatementProjectedSlot.cs
- DllNotFoundException.cs
- SiteMap.cs
- DSACryptoServiceProvider.cs
- XmlSchemaSet.cs
- TextWriter.cs
- SoapIgnoreAttribute.cs
- QilPatternVisitor.cs
- AssemblyCache.cs
- BrowserInteropHelper.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- HostingPreferredMapPath.cs
- SystemBrushes.cs
- SqlUdtInfo.cs
- DynamicQueryableWrapper.cs
- DataGridState.cs
- Pen.cs
- SafeNativeMethods.cs
- LiteralLink.cs
- SupportsEventValidationAttribute.cs
- CodeNamespaceImportCollection.cs
- WebBrowser.cs
- Scheduling.cs
- MethodToken.cs
- InvocationExpression.cs
- LinqDataSourceStatusEventArgs.cs
- ClientClassGenerator.cs
- GraphicsPathIterator.cs
- StickyNoteHelper.cs
- HMACRIPEMD160.cs
- ErrorReporting.cs
- WhitespaceRule.cs
- TableLayoutSettings.cs
- UInt64.cs
- Transform3DGroup.cs
- CultureInfoConverter.cs
- ApplicationInterop.cs
- PolygonHotSpot.cs
- TraceShell.cs
- PropertyGrid.cs
- UnsafeNativeMethods.cs
- FixedTextBuilder.cs
- WorkflowControlEndpoint.cs
- WindowsScroll.cs
- SqlRowUpdatingEvent.cs
- SizeChangedEventArgs.cs
- PenThreadPool.cs
- Rotation3DKeyFrameCollection.cs
- DebuggerAttributes.cs
- Add.cs
- FontFaceLayoutInfo.cs
- CodeMethodReturnStatement.cs
- EntityContainerAssociationSet.cs
- ParameterEditorUserControl.cs
- FixedSOMLineCollection.cs
- TableLayoutSettingsTypeConverter.cs
- XmlAnyElementAttributes.cs
- While.cs
- CommandTreeTypeHelper.cs
- MSG.cs
- TextContainerHelper.cs
- ToolStripSeparator.cs
- XmlCharType.cs
- KeyValuePairs.cs
- Converter.cs
- TimersDescriptionAttribute.cs
- IdentityElement.cs