Code:
/ 4.0 / 4.0 / 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.
// ==++==
//
// 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
- Sequence.cs
- PostBackTrigger.cs
- OraclePermissionAttribute.cs
- CompilationUtil.cs
- SoapCodeExporter.cs
- EpmAttributeNameBuilder.cs
- GenericsInstances.cs
- PageThemeParser.cs
- _Semaphore.cs
- ContainerParaClient.cs
- SecurityException.cs
- DerivedKeySecurityTokenStub.cs
- ColorAnimationBase.cs
- ButtonBase.cs
- QilPatternVisitor.cs
- FtpWebRequest.cs
- HandlerFactoryWrapper.cs
- AutomationElementCollection.cs
- SmtpLoginAuthenticationModule.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- CachedCompositeFamily.cs
- NavigationProperty.cs
- SinglePageViewer.cs
- EnumerableCollectionView.cs
- AnnotationAdorner.cs
- RectConverter.cs
- WindowsScroll.cs
- NumericExpr.cs
- TextCompositionManager.cs
- InvokeProviderWrapper.cs
- CultureInfoConverter.cs
- DefaultClaimSet.cs
- InlineUIContainer.cs
- RectangleConverter.cs
- TdsParserSafeHandles.cs
- cryptoapiTransform.cs
- WizardForm.cs
- BitmapImage.cs
- StyleSheet.cs
- XmlChildEnumerator.cs
- PerfCounters.cs
- SuppressMergeCheckAttribute.cs
- ReadOnlyPropertyMetadata.cs
- SubstitutionList.cs
- DetailsViewInsertEventArgs.cs
- XmlnsCache.cs
- SystemColorTracker.cs
- BooleanToVisibilityConverter.cs
- RewritingValidator.cs
- DataBoundControl.cs
- Vector3DValueSerializer.cs
- Pts.cs
- SemaphoreFullException.cs
- DataSourceControl.cs
- AssociatedControlConverter.cs
- DataSourceCacheDurationConverter.cs
- DataSourceXmlElementAttribute.cs
- HtmlFormWrapper.cs
- ConfigurationValue.cs
- SafeArrayRankMismatchException.cs
- TimelineCollection.cs
- EntityDataSourceWrapperCollection.cs
- BufferAllocator.cs
- PageThemeParser.cs
- CanonicalizationDriver.cs
- PeerTransportSecuritySettings.cs
- DataGridParentRows.cs
- IApplicationTrustManager.cs
- TreeNodeCollection.cs
- DataSourceCache.cs
- HttpRuntimeSection.cs
- DispatcherObject.cs
- Point3DCollection.cs
- VectorKeyFrameCollection.cs
- TemplatePropertyEntry.cs
- Equal.cs
- DataBindEngine.cs
- EventWaitHandleSecurity.cs
- ConstrainedDataObject.cs
- MasterPageBuildProvider.cs
- FacetValues.cs
- Version.cs
- XmlTypeAttribute.cs
- ComPlusAuthorization.cs
- HandlerBase.cs
- XamlTemplateSerializer.cs
- ActivityMetadata.cs
- SecurityUtils.cs
- _SslStream.cs
- RefreshEventArgs.cs
- WinFormsUtils.cs
- ContainsRowNumberChecker.cs
- LookupNode.cs
- ColorKeyFrameCollection.cs
- EventBindingService.cs
- validationstate.cs
- SignedXml.cs
- SwitchExpression.cs
- ConsoleKeyInfo.cs