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
- CompilationRelaxations.cs
- FamilyMap.cs
- CompositeDataBoundControl.cs
- ObjectDataSourceEventArgs.cs
- SupportsPreviewControlAttribute.cs
- PermissionSetTriple.cs
- UxThemeWrapper.cs
- EventLogPermission.cs
- ProgressBarBrushConverter.cs
- RayMeshGeometry3DHitTestResult.cs
- AppSettingsExpressionEditor.cs
- DispatcherTimer.cs
- ContentDisposition.cs
- DataMember.cs
- SystemWebSectionGroup.cs
- Binding.cs
- CalendarDayButton.cs
- WebPartMinimizeVerb.cs
- Scalars.cs
- UrlMapping.cs
- TerminateSequenceResponse.cs
- DnsEndpointIdentity.cs
- DataGridViewBand.cs
- SettingsPropertyIsReadOnlyException.cs
- AssemblyResourceLoader.cs
- BitmapMetadataEnumerator.cs
- WsatAdminException.cs
- MDIControlStrip.cs
- DES.cs
- odbcmetadatacollectionnames.cs
- Nodes.cs
- Authorization.cs
- Utils.cs
- CounterSet.cs
- OleDbStruct.cs
- FileInfo.cs
- TextSearch.cs
- PeerToPeerException.cs
- SoapFormatExtensions.cs
- InvalidPropValue.cs
- _TransmitFileOverlappedAsyncResult.cs
- MessageDispatch.cs
- DrawingGroup.cs
- ManualResetEventSlim.cs
- BridgeDataRecord.cs
- CodeCatchClause.cs
- InputReportEventArgs.cs
- ResourcePool.cs
- TextEditorSelection.cs
- ProtocolsConfigurationHandler.cs
- CodeMemberField.cs
- HtmlContainerControl.cs
- ExcludeFromCodeCoverageAttribute.cs
- BindingOperations.cs
- SrgsText.cs
- Volatile.cs
- MissingSatelliteAssemblyException.cs
- CellTreeNodeVisitors.cs
- SafeReadContext.cs
- BindingNavigator.cs
- CompiledRegexRunner.cs
- PolyLineSegment.cs
- PointAnimation.cs
- DrawingBrush.cs
- SafeCoTaskMem.cs
- FormViewPageEventArgs.cs
- Icon.cs
- FixedStringLookup.cs
- DataSourceControl.cs
- Pen.cs
- FunctionDetailsReader.cs
- SettingsAttributes.cs
- IFlowDocumentViewer.cs
- SingleTagSectionHandler.cs
- ExtensionSurface.cs
- SetIterators.cs
- FixedSOMTableRow.cs
- KeyTimeConverter.cs
- invalidudtexception.cs
- SortFieldComparer.cs
- ChangeBlockUndoRecord.cs
- RequestQueryParser.cs
- _ScatterGatherBuffers.cs
- BindableTemplateBuilder.cs
- TextTreeInsertElementUndoUnit.cs
- GifBitmapDecoder.cs
- ReadWriteSpinLock.cs
- CapiHashAlgorithm.cs
- OneOfConst.cs
- ListItem.cs
- UserPersonalizationStateInfo.cs
- ClientFactory.cs
- Vector3D.cs
- RenderTargetBitmap.cs
- RuntimeConfigLKG.cs
- PipelineModuleStepContainer.cs
- StatusInfoItem.cs
- SiteIdentityPermission.cs
- BufferedWebEventProvider.cs
- RijndaelManaged.cs