Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / SHA256.cs / 1305376 / 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
//
[System.Security.SecuritySafeCritical] // auto-generated
new static public SHA256 Create() {
return Create("System.Security.Cryptography.SHA256");
}
[System.Security.SecuritySafeCritical] // auto-generated
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
- OptionalMessageQuery.cs
- DiscoveryMessageSequenceCD1.cs
- RawStylusInputReport.cs
- UpDownBase.cs
- DesignConnection.cs
- DesignerSerializerAttribute.cs
- ViewCellSlot.cs
- Atom10FormatterFactory.cs
- ReflectionHelper.cs
- MulticastNotSupportedException.cs
- SQLStringStorage.cs
- Popup.cs
- Command.cs
- TextShapeableCharacters.cs
- SimpleTextLine.cs
- Identity.cs
- TypeUnloadedException.cs
- ExternalException.cs
- TextElementAutomationPeer.cs
- AdornerHitTestResult.cs
- BroadcastEventHelper.cs
- MembershipPasswordException.cs
- MatrixAnimationUsingPath.cs
- SoapInteropTypes.cs
- PathStreamGeometryContext.cs
- IgnoreFlushAndCloseStream.cs
- SQLGuid.cs
- WebServiceHandler.cs
- EntityClientCacheKey.cs
- XamlGridLengthSerializer.cs
- SHA256Managed.cs
- ProfileServiceManager.cs
- NavigationCommands.cs
- FrameworkReadOnlyPropertyMetadata.cs
- uribuilder.cs
- SpnEndpointIdentityExtension.cs
- VoiceInfo.cs
- DockingAttribute.cs
- ManagedFilter.cs
- ContentPropertyAttribute.cs
- PrimitiveXmlSerializers.cs
- ButtonField.cs
- AppearanceEditorPart.cs
- DocumentPageView.cs
- Encoder.cs
- ViewSimplifier.cs
- GridViewPageEventArgs.cs
- Wizard.cs
- Task.cs
- IndicFontClient.cs
- TreeNodeCollection.cs
- ApplicationBuildProvider.cs
- SqlReorderer.cs
- DiffuseMaterial.cs
- StickyNoteHelper.cs
- TypefaceCollection.cs
- InfoCardSymmetricAlgorithm.cs
- MultiView.cs
- DependencyPropertyHelper.cs
- FunctionQuery.cs
- SessionIDManager.cs
- _HeaderInfo.cs
- WeakRefEnumerator.cs
- IdnMapping.cs
- SRGSCompiler.cs
- HtmlControlPersistable.cs
- StylusPlugin.cs
- WbmpConverter.cs
- FlowNode.cs
- PasswordPropertyTextAttribute.cs
- XamlClipboardData.cs
- DocumentViewerBase.cs
- Property.cs
- ActivityExecutor.cs
- BCLDebug.cs
- FontUnitConverter.cs
- SmiEventSink_Default.cs
- PrintPreviewControl.cs
- DetailsViewPageEventArgs.cs
- PngBitmapEncoder.cs
- Table.cs
- FormView.cs
- CannotUnloadAppDomainException.cs
- SchemaCollectionPreprocessor.cs
- ByteArrayHelperWithString.cs
- StringAnimationBase.cs
- XmlSchemaSimpleType.cs
- ProxyHwnd.cs
- InputReferenceExpression.cs
- CacheDict.cs
- XmlLanguageConverter.cs
- AnnotationAuthorChangedEventArgs.cs
- Regex.cs
- FontFamilyValueSerializer.cs
- DoubleCollectionValueSerializer.cs
- XmlStringTable.cs
- ReadOnlyPropertyMetadata.cs
- SchemaEntity.cs
- HtmlTable.cs
- GlobalItem.cs