.NET Framework Class Library for Silverlight
SHA256 Class

Computes the SHA256 hash for the input data.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)
Syntax

Visual Basic (Declaration)
<ComVisibleAttribute(True)> _
Public MustInherit Class SHA256 _
    Inherits HashAlgorithm
Visual Basic (Usage)
Dim instance As SHA256
C#
[ComVisibleAttribute(true)]
public abstract class SHA256 : HashAlgorithm
Remarks

The hash is used as a unique value of fixed size representing a large amount of data. Hashes of two sets of data should match if and only if the corresponding data also matches. Small changes to the data result in large unpredictable changes in the hash.

The hash size for the SHA256 algorithm is 256 bits.

This is an abstract class. The only implementation of this class is SHA256Managed.

Inheritance Hierarchy

System..::.Object
  System.Security.Cryptography..::.HashAlgorithm
    System.Security.Cryptography..::.SHA256
      System.Security.Cryptography..::.SHA256Managed
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Other Resources

Tags :


Page view tracker