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
- TextEditorTables.cs
- XmlCustomFormatter.cs
- QuaternionKeyFrameCollection.cs
- CustomPopupPlacement.cs
- KeyPressEvent.cs
- SQLDateTime.cs
- VectorValueSerializer.cs
- PermissionListSet.cs
- XmlPropertyBag.cs
- AppDomainGrammarProxy.cs
- DataPagerFieldItem.cs
- OracleDataReader.cs
- InvalidProgramException.cs
- PropertyMetadata.cs
- RefExpr.cs
- TextAnchor.cs
- RecordConverter.cs
- TokenBasedSetEnumerator.cs
- CustomAttributeSerializer.cs
- EventManager.cs
- StackSpiller.Generated.cs
- ControlPropertyNameConverter.cs
- OleDbPermission.cs
- CookieParameter.cs
- DocumentViewerBaseAutomationPeer.cs
- ContextStaticAttribute.cs
- XmlSchemaFacet.cs
- DebuggerAttributes.cs
- XmlSchemaSimpleContentRestriction.cs
- DesignTimeTemplateParser.cs
- RepeaterItemEventArgs.cs
- Variant.cs
- _AutoWebProxyScriptWrapper.cs
- RoutingExtensionElement.cs
- oledbmetadatacolumnnames.cs
- Command.cs
- DropDownList.cs
- comcontractssection.cs
- GridViewRow.cs
- PageThemeParser.cs
- XmlConvert.cs
- FileLogRecordStream.cs
- WebEventTraceProvider.cs
- EmptyStringExpandableObjectConverter.cs
- xmlfixedPageInfo.cs
- IdentityNotMappedException.cs
- HttpListenerResponse.cs
- DataFormats.cs
- LinqDataSourceUpdateEventArgs.cs
- Inflater.cs
- Expander.cs
- SapiRecoInterop.cs
- ProjectedWrapper.cs
- WebPartMinimizeVerb.cs
- AsymmetricKeyExchangeFormatter.cs
- UnionCqlBlock.cs
- InkCanvasSelectionAdorner.cs
- TransformGroup.cs
- PeerNameRecord.cs
- ClientCultureInfo.cs
- QilInvokeLateBound.cs
- BaseDataBoundControlDesigner.cs
- SslStream.cs
- ServiceProviders.cs
- CodeGen.cs
- SHA512CryptoServiceProvider.cs
- Drawing.cs
- FontFamily.cs
- BinaryObjectReader.cs
- UnaryOperationBinder.cs
- CommentEmitter.cs
- FilterElement.cs
- PanelStyle.cs
- CollectionBuilder.cs
- LockCookie.cs
- CodeMemberMethod.cs
- ServiceNameElement.cs
- TreeNodeBindingCollection.cs
- UserControl.cs
- _SslSessionsCache.cs
- InternalSafeNativeMethods.cs
- ParameterElement.cs
- BehaviorService.cs
- SectionVisual.cs
- TextElementCollectionHelper.cs
- DiscoveryExceptionDictionary.cs
- DynamicDataManager.cs
- RegexMatchCollection.cs
- MemberRestriction.cs
- MethodCallExpression.cs
- CallbackValidatorAttribute.cs
- Speller.cs
- IPCCacheManager.cs
- MSAAEventDispatcher.cs
- UnicodeEncoding.cs
- StagingAreaInputItem.cs
- HostedHttpRequestAsyncResult.cs
- ProjectedWrapper.cs
- Nodes.cs
- WindowsTitleBar.cs