Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridAddNewRow.cs
- DtrList.cs
- BaseComponentEditor.cs
- CustomErrorsSection.cs
- MetadataItemSerializer.cs
- FieldMetadata.cs
- EnumType.cs
- PrimitiveXmlSerializers.cs
- TaskHelper.cs
- WorkflowTraceTransfer.cs
- ColorPalette.cs
- ProjectionPath.cs
- PersonalizationStateInfo.cs
- ValidationRuleCollection.cs
- TreeView.cs
- Mutex.cs
- Funcletizer.cs
- Label.cs
- CodeSnippetExpression.cs
- TypeLibConverter.cs
- MappingException.cs
- XmlNamespaceManager.cs
- IsolatedStorageException.cs
- ProcessRequestArgs.cs
- ToolStripPanelSelectionBehavior.cs
- RequestQueryParser.cs
- CodeDomSerializer.cs
- ListenerAdaptersInstallComponent.cs
- XmlNamespaceMappingCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- VersionConverter.cs
- MetadataArtifactLoaderComposite.cs
- FieldNameLookup.cs
- NumberSubstitution.cs
- BinaryCommonClasses.cs
- Button.cs
- ColumnHeader.cs
- SqlDataSourceCommandEventArgs.cs
- DataGridItemAutomationPeer.cs
- SQLByteStorage.cs
- WindowsContainer.cs
- InteropTrackingRecord.cs
- PropertyValueChangedEvent.cs
- CalendarAutoFormatDialog.cs
- Cell.cs
- BindingExpressionUncommonField.cs
- WinEventQueueItem.cs
- FontUnitConverter.cs
- WebPartsPersonalization.cs
- OlePropertyStructs.cs
- DbProviderServices.cs
- Tracking.cs
- WindowAutomationPeer.cs
- DataRow.cs
- PinnedBufferMemoryStream.cs
- CapabilitiesAssignment.cs
- BamlRecordReader.cs
- MergePropertyDescriptor.cs
- FixedPageProcessor.cs
- ErrorWebPart.cs
- mactripleDES.cs
- HitTestDrawingContextWalker.cs
- ParameterCollection.cs
- SqlRowUpdatedEvent.cs
- HtmlWindowCollection.cs
- PictureBox.cs
- MonikerProxyAttribute.cs
- MimeTypePropertyAttribute.cs
- StylusOverProperty.cs
- MinimizableAttributeTypeConverter.cs
- NativeRecognizer.cs
- mediaclock.cs
- LoginView.cs
- ErrorProvider.cs
- ResetableIterator.cs
- FileDetails.cs
- XmlImplementation.cs
- RoleGroupCollection.cs
- ExportOptions.cs
- Base64Stream.cs
- SessionStateSection.cs
- ProtocolElement.cs
- cookieexception.cs
- KeyValuePairs.cs
- XmlEntity.cs
- MetadataPropertyAttribute.cs
- UserMapPath.cs
- FixedDocument.cs
- DataGridViewImageCell.cs
- ProxyGenerator.cs
- DeclaredTypeElementCollection.cs
- ButtonStandardAdapter.cs
- ControlBuilderAttribute.cs
- DockPanel.cs
- Events.cs
- Int32CollectionConverter.cs
- DependencyObjectCodeDomSerializer.cs
- WebPartPersonalization.cs
- UnknownWrapper.cs
- FamilyMapCollection.cs