Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlResolver.cs
- CodeExpressionCollection.cs
- ExpressionEditorAttribute.cs
- SafeLibraryHandle.cs
- TextTreeUndoUnit.cs
- ContextMenuStrip.cs
- StylusLogic.cs
- VSDExceptions.cs
- NonVisualControlAttribute.cs
- TypeInitializationException.cs
- SubpageParaClient.cs
- PropertyRef.cs
- WebPartCloseVerb.cs
- DocumentReference.cs
- ListBoxAutomationPeer.cs
- SymbolTable.cs
- SQLStringStorage.cs
- TraceXPathNavigator.cs
- FileUtil.cs
- CodeObjectCreateExpression.cs
- WsiProfilesElementCollection.cs
- DefaultIfEmptyQueryOperator.cs
- SmiEventSink_Default.cs
- BuilderInfo.cs
- VariantWrapper.cs
- GeneralTransform3DTo2DTo3D.cs
- SevenBitStream.cs
- PersonalizationAdministration.cs
- FormViewCommandEventArgs.cs
- ListDictionaryInternal.cs
- BitmapEffectrendercontext.cs
- StorageEndPropertyMapping.cs
- PseudoWebRequest.cs
- InkCanvasFeedbackAdorner.cs
- XmlSchemaNotation.cs
- SoapObjectReader.cs
- HttpAsyncResult.cs
- InteropBitmapSource.cs
- RegisteredDisposeScript.cs
- pingexception.cs
- Funcletizer.cs
- EditingCommands.cs
- BinHexEncoding.cs
- PhysicalFontFamily.cs
- ResourcePart.cs
- ScrollViewer.cs
- RemotingConfigParser.cs
- ReliableDuplexSessionChannel.cs
- datacache.cs
- SoapMessage.cs
- DesignerAttributeInfo.cs
- HandleDictionary.cs
- HtmlTitle.cs
- TitleStyle.cs
- WaveHeader.cs
- StrokeSerializer.cs
- TypeElement.cs
- CodePageUtils.cs
- TextBox.cs
- ConfigXmlCDataSection.cs
- WebPartConnection.cs
- Model3DGroup.cs
- AnimatedTypeHelpers.cs
- ClientBuildManagerCallback.cs
- ReadWriteSpinLock.cs
- PasswordDeriveBytes.cs
- KnownTypeHelper.cs
- BoundsDrawingContextWalker.cs
- DynamicPropertyHolder.cs
- ToolStripGripRenderEventArgs.cs
- MatrixConverter.cs
- EventToken.cs
- WebPartMovingEventArgs.cs
- Stack.cs
- KeyValuePairs.cs
- SchemaImporterExtensionElementCollection.cs
- CompilationPass2TaskInternal.cs
- Path.cs
- TdsParserStateObject.cs
- ThreadStateException.cs
- ParsedAttributeCollection.cs
- CodeVariableReferenceExpression.cs
- StatusCommandUI.cs
- GifBitmapDecoder.cs
- HttpListenerPrefixCollection.cs
- EventHandlersStore.cs
- PointAnimationUsingPath.cs
- QueryRewriter.cs
- AnnotationAdorner.cs
- ReadOnlyDataSource.cs
- ClientTarget.cs
- initElementDictionary.cs
- MsmqHostedTransportManager.cs
- TableLayoutPanelBehavior.cs
- LoginCancelEventArgs.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PasswordPropertyTextAttribute.cs
- AmbientEnvironment.cs
- FrugalList.cs
- IgnoreDeviceFilterElement.cs