Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / HMACSHA256.cs / 1305376 / 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
- DelegateTypeInfo.cs
- ExpressionBuilder.cs
- MimeMultiPart.cs
- StorageRoot.cs
- SettingsAttributeDictionary.cs
- iisPickupDirectory.cs
- PersianCalendar.cs
- C14NUtil.cs
- UnsafeNativeMethods.cs
- CompiledQuery.cs
- ToolStripGrip.cs
- TextRunTypographyProperties.cs
- CodeMethodInvokeExpression.cs
- VisualBrush.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- PeerToPeerException.cs
- SimpleColumnProvider.cs
- SortFieldComparer.cs
- DataColumnMapping.cs
- CodeTypeDeclaration.cs
- ConsoleTraceListener.cs
- XhtmlMobileTextWriter.cs
- ReliabilityContractAttribute.cs
- Padding.cs
- SafeBuffer.cs
- SqlCharStream.cs
- RowToParametersTransformer.cs
- LocalizeDesigner.cs
- DataGridViewCheckBoxCell.cs
- DefaultPropertiesToSend.cs
- SubstitutionDesigner.cs
- SelectionProviderWrapper.cs
- RIPEMD160.cs
- IEnumerable.cs
- NameScope.cs
- FrameSecurityDescriptor.cs
- DataGridViewRowConverter.cs
- PersistenceIOParticipant.cs
- AxisAngleRotation3D.cs
- WindowsPen.cs
- EntityContainerEmitter.cs
- WebPartChrome.cs
- Lock.cs
- StickyNoteAnnotations.cs
- IUnknownConstantAttribute.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- ExpressionConverter.cs
- DbInsertCommandTree.cs
- CompoundFileStreamReference.cs
- OdbcException.cs
- TagNameToTypeMapper.cs
- _DomainName.cs
- Thread.cs
- FormViewUpdateEventArgs.cs
- ISFClipboardData.cs
- BinaryConverter.cs
- BindingSourceDesigner.cs
- ToolStripContentPanelRenderEventArgs.cs
- SamlEvidence.cs
- RegistryKey.cs
- _Win32.cs
- FormViewDeleteEventArgs.cs
- SamlConstants.cs
- SelectionProviderWrapper.cs
- AssemblyCacheEntry.cs
- ExpressionConverter.cs
- SharedPerformanceCounter.cs
- SourceFileInfo.cs
- ClickablePoint.cs
- ZipArchive.cs
- RoleManagerModule.cs
- RegexGroup.cs
- PreviewPageInfo.cs
- ContainerControl.cs
- EditBehavior.cs
- WebPartsSection.cs
- Contracts.cs
- WindowsSidIdentity.cs
- ContractBase.cs
- CustomAttributeSerializer.cs
- LocationUpdates.cs
- BoolExpr.cs
- UpdateProgress.cs
- InputQueueChannelAcceptor.cs
- COM2TypeInfoProcessor.cs
- ContractComponent.cs
- Expression.cs
- MediaTimeline.cs
- ReadOnlyHierarchicalDataSource.cs
- MimeTypeMapper.cs
- AttachedPropertyBrowsableAttribute.cs
- GlyphInfoList.cs
- SqlCacheDependency.cs
- MailMessageEventArgs.cs
- ProfileParameter.cs
- Int32Rect.cs
- MdImport.cs
- CharConverter.cs
- DbConnectionPoolOptions.cs
- XmlSchemaElement.cs