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
- SmiEventSink_DeferedProcessing.cs
- XamlContextStack.cs
- Serializer.cs
- ConfigDefinitionUpdates.cs
- WriteableOnDemandPackagePart.cs
- DbgUtil.cs
- CollectionConverter.cs
- XmlElementAttributes.cs
- ToolStripDropDownItem.cs
- StylusSystemGestureEventArgs.cs
- Switch.cs
- GestureRecognitionResult.cs
- WsdlBuildProvider.cs
- InternalUserCancelledException.cs
- SqlBuffer.cs
- RegistrationServices.cs
- CommandEventArgs.cs
- MessageAction.cs
- ExpandoClass.cs
- UnsafeNativeMethods.cs
- FakeModelPropertyImpl.cs
- IPEndPoint.cs
- Int32EqualityComparer.cs
- ValueTable.cs
- UInt16.cs
- DataContext.cs
- ContextMenuService.cs
- LicenseException.cs
- Evidence.cs
- DataSourceBooleanViewSchemaConverter.cs
- HtmlTableCellCollection.cs
- TraceContextEventArgs.cs
- ReflectionServiceProvider.cs
- DataGridViewCheckBoxCell.cs
- RegistrySecurity.cs
- ValidationError.cs
- HtmlInputFile.cs
- Constants.cs
- SapiGrammar.cs
- WebPartConnectionsConnectVerb.cs
- _ContextAwareResult.cs
- DynamicRendererThreadManager.cs
- DataBinder.cs
- SingleAnimationUsingKeyFrames.cs
- CodeIndexerExpression.cs
- SHA384.cs
- DesignerAutoFormatCollection.cs
- brushes.cs
- TextTabProperties.cs
- XPathNavigatorReader.cs
- Hex.cs
- TemplatePartAttribute.cs
- CipherData.cs
- CodeDelegateCreateExpression.cs
- BaseValidator.cs
- BindStream.cs
- FigureParaClient.cs
- VerticalAlignConverter.cs
- Timer.cs
- RemoteWebConfigurationHostStream.cs
- DocumentViewerBaseAutomationPeer.cs
- ISCIIEncoding.cs
- AuthenticationModulesSection.cs
- InkCanvasAutomationPeer.cs
- ScaleTransform3D.cs
- OdbcCommandBuilder.cs
- PeerDuplexChannel.cs
- SqlRewriteScalarSubqueries.cs
- DelegateBodyWriter.cs
- OracleColumn.cs
- AnchorEditor.cs
- UnicodeEncoding.cs
- DesignerResources.cs
- CleanUpVirtualizedItemEventArgs.cs
- While.cs
- XmlSchemaImporter.cs
- LayoutUtils.cs
- FtpWebRequest.cs
- ImageSourceConverter.cs
- KerberosSecurityTokenProvider.cs
- SortQuery.cs
- PeerFlooder.cs
- ScrollItemProviderWrapper.cs
- WebPartDisplayMode.cs
- IsolatedStorageFileStream.cs
- TargetException.cs
- DataTrigger.cs
- XsdBuildProvider.cs
- NotificationContext.cs
- DictionaryBase.cs
- ScalarConstant.cs
- DetailsViewUpdateEventArgs.cs
- MouseDevice.cs
- Timer.cs
- Column.cs
- ColorAnimationUsingKeyFrames.cs
- AlternateViewCollection.cs
- ToolTip.cs
- TrueReadOnlyCollection.cs
- serverconfig.cs