Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Security / Cryptography / SHA256.cs / 1 / SHA256.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//
// SHA256.cs
//
// This abstract class represents the SHA-256 hash algorithm.
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class SHA256 : HashAlgorithm
{
//
// protected constructors
//
protected SHA256() {
HashSizeValue = 256;
}
//
// public methods
//
new static public SHA256 Create() {
return Create("System.Security.Cryptography.SHA256");
}
new static public SHA256 Create(String hashName) {
return (SHA256) CryptoConfig.CreateFromName(hashName);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//
// SHA256.cs
//
// This abstract class represents the SHA-256 hash algorithm.
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class SHA256 : HashAlgorithm
{
//
// protected constructors
//
protected SHA256() {
HashSizeValue = 256;
}
//
// public methods
//
new static public SHA256 Create() {
return Create("System.Security.Cryptography.SHA256");
}
new static public SHA256 Create(String hashName) {
return (SHA256) CryptoConfig.CreateFromName(hashName);
}
}
}
// 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
- EmptyTextWriter.cs
- BrowserDefinitionCollection.cs
- ListBindableAttribute.cs
- ApplicationId.cs
- CriticalFinalizerObject.cs
- EnumerableCollectionView.cs
- RuleCache.cs
- UnionCodeGroup.cs
- CommonProperties.cs
- XmlTextEncoder.cs
- LineBreak.cs
- FtpCachePolicyElement.cs
- DispatchChannelSink.cs
- TextRangeProviderWrapper.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CompositeDataBoundControl.cs
- WindowsFormsSectionHandler.cs
- OleDbTransaction.cs
- MultiTrigger.cs
- IdentityReference.cs
- DoubleAnimationClockResource.cs
- ReferencedCollectionType.cs
- UnsafeNativeMethods.cs
- HttpStreams.cs
- ProcessProtocolHandler.cs
- HandleScope.cs
- WithParamAction.cs
- PreviousTrackingServiceAttribute.cs
- HtmlInputText.cs
- ConstrainedDataObject.cs
- StatusBarPanelClickEvent.cs
- CodeGroup.cs
- ImmutableClientRuntime.cs
- DetailsViewRowCollection.cs
- Range.cs
- SByte.cs
- KernelTypeValidation.cs
- ImplicitInputBrush.cs
- StringToken.cs
- FactoryGenerator.cs
- OleServicesContext.cs
- PeerUnsafeNativeMethods.cs
- ColorAnimation.cs
- TextEmbeddedObject.cs
- ReadOnlyDictionary.cs
- DataGridViewCellStyleBuilderDialog.cs
- ButtonFlatAdapter.cs
- CodeTypeReferenceCollection.cs
- DragEventArgs.cs
- DataObjectFieldAttribute.cs
- SafeNativeMethodsOther.cs
- SoapCodeExporter.cs
- PersistenceProviderFactory.cs
- KnownIds.cs
- PropertyManager.cs
- DNS.cs
- PointHitTestParameters.cs
- PersonalizablePropertyEntry.cs
- ListBoxDesigner.cs
- DrawingAttributesDefaultValueFactory.cs
- FreezableOperations.cs
- GlobalizationAssembly.cs
- LicenseManager.cs
- EditorAttribute.cs
- DataGridColumnStyleMappingNameEditor.cs
- SystemIcons.cs
- TCEAdapterGenerator.cs
- ProjectionNode.cs
- VariableQuery.cs
- CallbackTimeoutsElement.cs
- XmlCharacterData.cs
- IndicFontClient.cs
- HttpModulesSection.cs
- SqlRowUpdatedEvent.cs
- CheckBoxAutomationPeer.cs
- PeerPresenceInfo.cs
- CompilerHelpers.cs
- ScrollContentPresenter.cs
- SqlDataSourceQueryConverter.cs
- ScopedMessagePartSpecification.cs
- DropShadowEffect.cs
- DataGridHelper.cs
- SynchronizationLockException.cs
- SecurityTokenProvider.cs
- BaseCAMarshaler.cs
- TraceSource.cs
- ZipIOModeEnforcingStream.cs
- MappingItemCollection.cs
- ExpressionNode.cs
- CopyOnWriteList.cs
- WhiteSpaceTrimStringConverter.cs
- ResourceExpression.cs
- ParameterBuilder.cs
- GenericEnumerator.cs
- ConnectionManagementSection.cs
- LabelLiteral.cs
- DecoderReplacementFallback.cs
- ColorPalette.cs
- HttpPostLocalhostServerProtocol.cs
- SHA512Managed.cs