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
- MsdtcWrapper.cs
- DataColumn.cs
- Memoizer.cs
- Track.cs
- FocusChangedEventArgs.cs
- WorkflowShape.cs
- XmlEntityReference.cs
- TextContainer.cs
- UnaryExpression.cs
- BaseCollection.cs
- StateMachineSubscription.cs
- AnnotationStore.cs
- ColumnResizeUndoUnit.cs
- RemotingConfiguration.cs
- PartBasedPackageProperties.cs
- DataBoundControlDesigner.cs
- MouseActionConverter.cs
- RadioButton.cs
- AllMembershipCondition.cs
- PointF.cs
- Pair.cs
- HebrewCalendar.cs
- FileLevelControlBuilderAttribute.cs
- ToolStripItemClickedEventArgs.cs
- WebPartEditorApplyVerb.cs
- BinaryNode.cs
- SqlNodeAnnotation.cs
- PropertyEmitter.cs
- QilStrConcatenator.cs
- ZipIOCentralDirectoryFileHeader.cs
- wgx_commands.cs
- GetMemberBinder.cs
- DocumentSchemaValidator.cs
- TransactionFlowBindingElement.cs
- SystemUnicastIPAddressInformation.cs
- AbandonedMutexException.cs
- TextSpan.cs
- TreePrinter.cs
- AssemblyInfo.cs
- CharKeyFrameCollection.cs
- CodeThrowExceptionStatement.cs
- ImageDrawing.cs
- XmlReturnReader.cs
- StringFunctions.cs
- LineInfo.cs
- RangeValuePatternIdentifiers.cs
- FormsAuthenticationCredentials.cs
- PageOutputQuality.cs
- IMembershipProvider.cs
- SocketStream.cs
- HttpHostedTransportConfiguration.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- COM2ComponentEditor.cs
- activationcontext.cs
- RawStylusSystemGestureInputReport.cs
- UntypedNullExpression.cs
- EntryWrittenEventArgs.cs
- GiveFeedbackEvent.cs
- IconConverter.cs
- GridItemPattern.cs
- TypeRefElement.cs
- RSAOAEPKeyExchangeDeformatter.cs
- HttpCookiesSection.cs
- HiddenField.cs
- HtmlInputReset.cs
- BitmapPalettes.cs
- BitmapEffectGroup.cs
- EntityDataSourceView.cs
- StoreItemCollection.cs
- KoreanLunisolarCalendar.cs
- _ListenerRequestStream.cs
- RequestCacheEntry.cs
- Oid.cs
- XmlDataSourceView.cs
- GeneralTransformGroup.cs
- IgnoreFileBuildProvider.cs
- ValidationEventArgs.cs
- Queue.cs
- Menu.cs
- ControlFilterExpression.cs
- ParentControlDesigner.cs
- TdsParameterSetter.cs
- TraceData.cs
- ImageSourceConverter.cs
- EntityDesignerUtils.cs
- IMembershipProvider.cs
- _NegotiateClient.cs
- GenericNameHandler.cs
- datacache.cs
- FixedSOMElement.cs
- FileIOPermission.cs
- TraceSource.cs
- HwndSubclass.cs
- Header.cs
- XsltFunctions.cs
- EnumUnknown.cs
- RenderingBiasValidation.cs
- DefaultTraceListener.cs
- XmlComplianceUtil.cs