Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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);
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GatewayDefinition.cs
- NavigationEventArgs.cs
- StructuralCache.cs
- DecoderBestFitFallback.cs
- RIPEMD160.cs
- ClickablePoint.cs
- PrivilegedConfigurationManager.cs
- ScriptMethodAttribute.cs
- ParameterEditorUserControl.cs
- MetafileHeaderWmf.cs
- DebugViewWriter.cs
- List.cs
- ActivityInstance.cs
- Menu.cs
- X509Certificate.cs
- Win32KeyboardDevice.cs
- CannotUnloadAppDomainException.cs
- ContractListAdapter.cs
- Application.cs
- MetadataItemCollectionFactory.cs
- XmlSubtreeReader.cs
- ValidationResult.cs
- FrameworkElementAutomationPeer.cs
- TableDesigner.cs
- SchemaNotation.cs
- RectIndependentAnimationStorage.cs
- XMLDiffLoader.cs
- DeobfuscatingStream.cs
- MultipleViewPattern.cs
- IsolatedStorage.cs
- PrintingPermission.cs
- WebSysDescriptionAttribute.cs
- ColorAnimationBase.cs
- BaseProcessProtocolHandler.cs
- BindingValueChangedEventArgs.cs
- BaseResourcesBuildProvider.cs
- SystemResourceKey.cs
- RepeaterCommandEventArgs.cs
- ImageMap.cs
- ipaddressinformationcollection.cs
- UserPreferenceChangedEventArgs.cs
- Matrix.cs
- GregorianCalendarHelper.cs
- control.ime.cs
- SafeThreadHandle.cs
- XmlSchemaGroup.cs
- sqlser.cs
- Binding.cs
- TextBox.cs
- FlowDocumentPage.cs
- DispatcherExceptionFilterEventArgs.cs
- SourceFileBuildProvider.cs
- TimeStampChecker.cs
- RequestBringIntoViewEventArgs.cs
- _StreamFramer.cs
- ListView.cs
- DataMemberAttribute.cs
- VBCodeProvider.cs
- LocalFileSettingsProvider.cs
- ListItemCollection.cs
- BaseTemplateParser.cs
- NativeActivityFaultContext.cs
- ButtonFlatAdapter.cs
- RequestSecurityTokenResponse.cs
- RelationshipEndCollection.cs
- GotoExpression.cs
- EntityDataSourceColumn.cs
- XmlSchemaObjectCollection.cs
- RemoteCryptoTokenProvider.cs
- StoragePropertyMapping.cs
- WebBrowserHelper.cs
- SendingRequestEventArgs.cs
- SpeakProgressEventArgs.cs
- ToolZone.cs
- DropDownList.cs
- WSHttpBinding.cs
- Matrix.cs
- StandardCommands.cs
- Exception.cs
- MetadataArtifactLoaderCompositeResource.cs
- EncodingTable.cs
- StyleSheetRefUrlEditor.cs
- RowsCopiedEventArgs.cs
- Timeline.cs
- XmlBaseWriter.cs
- TemplateField.cs
- GregorianCalendar.cs
- RewritingSimplifier.cs
- WindowsMenu.cs
- TemplateContainer.cs
- TreeViewImageKeyConverter.cs
- altserialization.cs
- ConstructorNeedsTagAttribute.cs
- TemplatePartAttribute.cs
- ConfigsHelper.cs
- DataMisalignedException.cs
- SkinBuilder.cs
- HWStack.cs
- _NativeSSPI.cs
- XmlSchemaSequence.cs