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
- ListControlStringCollectionEditor.cs
- StrokeCollectionDefaultValueFactory.cs
- XmlBufferedByteStreamReader.cs
- _SslSessionsCache.cs
- DataGridViewCellParsingEventArgs.cs
- GZipStream.cs
- RelationshipConstraintValidator.cs
- EpmContentDeSerializer.cs
- EntityType.cs
- ToolStripItemEventArgs.cs
- RuntimeArgumentHandle.cs
- SolidColorBrush.cs
- TcpConnectionPool.cs
- Crc32.cs
- ButtonColumn.cs
- HiddenField.cs
- CodeValidator.cs
- PermissionSet.cs
- EntityDataSourceQueryBuilder.cs
- ReadOnlyNameValueCollection.cs
- SaveFileDialogDesigner.cs
- MarkupCompiler.cs
- ArrayWithOffset.cs
- MimeTypePropertyAttribute.cs
- SmtpAuthenticationManager.cs
- RegexGroupCollection.cs
- PrintDialog.cs
- GlyphElement.cs
- RuntimeResourceSet.cs
- PointCollection.cs
- _NestedSingleAsyncResult.cs
- XmlCharCheckingReader.cs
- QilCloneVisitor.cs
- WeakEventManager.cs
- ManagedFilter.cs
- EntityDesignerDataSourceView.cs
- EditorZone.cs
- GroupItemAutomationPeer.cs
- MatrixTransform3D.cs
- ObjectContext.cs
- HeaderedItemsControl.cs
- ObjectDataSourceView.cs
- DynamicPropertyHolder.cs
- XhtmlBasicValidatorAdapter.cs
- ComponentDispatcherThread.cs
- SamlAdvice.cs
- DataControlPagerLinkButton.cs
- HierarchicalDataBoundControlAdapter.cs
- XsltArgumentList.cs
- OracleEncoding.cs
- QueryCacheEntry.cs
- BaseComponentEditor.cs
- TrustManagerMoreInformation.cs
- ComponentCommands.cs
- ImageInfo.cs
- PriorityRange.cs
- PriorityBindingExpression.cs
- TableItemPattern.cs
- UriTemplateTrieLocation.cs
- InvokeFunc.cs
- MarshalByRefObject.cs
- BaseAppDomainProtocolHandler.cs
- PriorityRange.cs
- QuestionEventArgs.cs
- SiteMapSection.cs
- XmlMemberMapping.cs
- PersonalizableTypeEntry.cs
- TextPointer.cs
- IISMapPath.cs
- DataGridViewCellValidatingEventArgs.cs
- XmlLanguage.cs
- CaseDesigner.xaml.cs
- TransactionContextManager.cs
- WpfKnownType.cs
- XPathExpr.cs
- SqlDataRecord.cs
- HttpProfileBase.cs
- ComponentRenameEvent.cs
- activationcontext.cs
- SQLInt16.cs
- MultilineStringConverter.cs
- Pen.cs
- SmtpAuthenticationManager.cs
- XmlName.cs
- ServiceModelConfiguration.cs
- TdsParserStaticMethods.cs
- DesignerAttribute.cs
- BinaryFormatter.cs
- ResolveDuplex11AsyncResult.cs
- TemplateControlBuildProvider.cs
- WebPartConnectionsConfigureVerb.cs
- WrappedIUnknown.cs
- KnownBoxes.cs
- EmptyStringExpandableObjectConverter.cs
- HyperLink.cs
- EndPoint.cs
- RepeatBehavior.cs
- RegexParser.cs
- Bold.cs
- DbBuffer.cs