Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- AddInServer.cs
- log.cs
- GridViewRow.cs
- SecurityKeyType.cs
- Imaging.cs
- RepeaterItemCollection.cs
- UnsafeNativeMethods.cs
- PlatformCulture.cs
- DoubleCollection.cs
- ResXResourceSet.cs
- AlternationConverter.cs
- LineInfo.cs
- Trace.cs
- CopyEncoder.cs
- ProcessThread.cs
- TypeResolver.cs
- SQLMembershipProvider.cs
- MouseWheelEventArgs.cs
- WindowsAuthenticationModule.cs
- Vector3DKeyFrameCollection.cs
- DataFormats.cs
- StreamAsIStream.cs
- WmlTextViewAdapter.cs
- TrustSection.cs
- XmlNamespaceManager.cs
- RequestStatusBarUpdateEventArgs.cs
- SamlDelegatingWriter.cs
- RuntimeResourceSet.cs
- FormViewUpdatedEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- AnnotationHighlightLayer.cs
- SmiContext.cs
- OdbcCommand.cs
- Number.cs
- ComplexLine.cs
- UnsafeNativeMethods.cs
- XmlNode.cs
- WebPartConnectVerb.cs
- ProgressChangedEventArgs.cs
- TableCell.cs
- HttpConfigurationSystem.cs
- SqlFunctionAttribute.cs
- RawStylusInputReport.cs
- Interlocked.cs
- CodeSubDirectory.cs
- FaultContractAttribute.cs
- FontFamilyValueSerializer.cs
- ThousandthOfEmRealPoints.cs
- SqlProfileProvider.cs
- CfgSemanticTag.cs
- EntityType.cs
- StickyNoteHelper.cs
- SymDocumentType.cs
- CommonDialog.cs
- TrackingStringDictionary.cs
- AbstractSvcMapFileLoader.cs
- NameValueCollection.cs
- FileRegion.cs
- BinaryMethodMessage.cs
- QuaternionRotation3D.cs
- ProgramPublisher.cs
- UpdateCompiler.cs
- EmptyCollection.cs
- ValuePatternIdentifiers.cs
- XsdBuilder.cs
- SourceSwitch.cs
- ParallelDesigner.cs
- NCryptNative.cs
- ExecutionEngineException.cs
- StoragePropertyMapping.cs
- VisualStates.cs
- NoPersistHandle.cs
- CodeDirectionExpression.cs
- RenderTargetBitmap.cs
- Inflater.cs
- TypeSystem.cs
- TypedElement.cs
- URI.cs
- HandleCollector.cs
- UInt16Storage.cs
- SaveRecipientRequest.cs
- HttpBindingExtension.cs
- ManagedCodeMarkers.cs
- TextTreeUndo.cs
- HotSpotCollection.cs
- EmptyControlCollection.cs
- CatalogPartChrome.cs
- VectorAnimation.cs
- DateTimeConverter2.cs
- Pen.cs
- SBCSCodePageEncoding.cs
- TypeDefinition.cs
- UnmanagedMarshal.cs
- DesignerActionService.cs
- AssemblyAttributesGoHere.cs
- OracleRowUpdatingEventArgs.cs
- Decorator.cs
- BamlLocalizabilityResolver.cs
- X500Name.cs
- PropertyPath.cs