Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA256.cs / 1 / HMACSHA256.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // HMACSHA256.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACSHA256 : HMAC { // // public constructors // public HMACSHA256 () : this (Utils.GenerateRandom(64)) {} public HMACSHA256 (byte[] key) { m_hashName = "SHA256"; m_hash1 = new SHA256Managed(); m_hash2 = new SHA256Managed(); HashSizeValue = 256; base.InitializeKey(key); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // HMACSHA256.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public class HMACSHA256 : HMAC { // // public constructors // public HMACSHA256 () : this (Utils.GenerateRandom(64)) {} public HMACSHA256 (byte[] key) { m_hashName = "SHA256"; m_hash1 = new SHA256Managed(); m_hash2 = new SHA256Managed(); HashSizeValue = 256; base.InitializeKey(key); } } } // 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
- MaskDesignerDialog.cs
- SafeFreeMibTable.cs
- ColorBlend.cs
- XmlSortKeyAccumulator.cs
- DiscoveryVersion.cs
- StoreItemCollection.Loader.cs
- ContentIterators.cs
- RegisteredDisposeScript.cs
- SqlSelectStatement.cs
- DownloadProgressEventArgs.cs
- XmlSchemaAttribute.cs
- AssociationSet.cs
- MergeEnumerator.cs
- CommentEmitter.cs
- SqlServices.cs
- XmlLanguageConverter.cs
- CookieProtection.cs
- DropDownHolder.cs
- HttpAsyncResult.cs
- IsolatedStorageFileStream.cs
- CodeGeneratorOptions.cs
- SpotLight.cs
- DataControlFieldCell.cs
- ObjectQuery_EntitySqlExtensions.cs
- BitStream.cs
- ClientSettings.cs
- NotCondition.cs
- OdbcError.cs
- SplashScreenNativeMethods.cs
- NullExtension.cs
- SafeLibraryHandle.cs
- ApplyHostConfigurationBehavior.cs
- EditingCommands.cs
- TransactionTable.cs
- PathFigureCollectionConverter.cs
- ListBoxDesigner.cs
- DbReferenceCollection.cs
- SqlMethods.cs
- DocumentEventArgs.cs
- PartialCachingControl.cs
- MimeAnyImporter.cs
- DbResourceAllocator.cs
- GestureRecognizer.cs
- Misc.cs
- BaseComponentEditor.cs
- StubHelpers.cs
- CustomErrorCollection.cs
- ObjectQuery.cs
- ObjectNotFoundException.cs
- EntityWithKeyStrategy.cs
- COMException.cs
- XsdBuildProvider.cs
- MimePart.cs
- JsonGlobals.cs
- ModuleElement.cs
- XmlSortKey.cs
- DbConnectionInternal.cs
- HtmlUtf8RawTextWriter.cs
- ContentPlaceHolderDesigner.cs
- FramingFormat.cs
- PointConverter.cs
- CategoryNameCollection.cs
- BigInt.cs
- SqlParameter.cs
- RemoveFromCollection.cs
- SafeFileHandle.cs
- SQLByteStorage.cs
- SqlDataAdapter.cs
- IsolationInterop.cs
- BuildProviderCollection.cs
- EntityDataSource.cs
- PartBasedPackageProperties.cs
- TypedServiceChannelBuilder.cs
- Socket.cs
- RuntimeArgumentHandle.cs
- _StreamFramer.cs
- httpapplicationstate.cs
- GroupQuery.cs
- AQNBuilder.cs
- TypedElement.cs
- TraceLevelStore.cs
- RegistrationServices.cs
- CharConverter.cs
- BindToObject.cs
- TagPrefixCollection.cs
- ellipse.cs
- ExceptionUtil.cs
- UnionCqlBlock.cs
- ConnectionManagementSection.cs
- PageStatePersister.cs
- ScriptingProfileServiceSection.cs
- ReadOnlyDataSourceView.cs
- RMEnrollmentPage3.cs
- OverflowException.cs
- ItemChangedEventArgs.cs
- ContentElement.cs
- ToolStripManager.cs
- IBuiltInEvidence.cs
- HtmlHead.cs
- Error.cs