КриптоПро .NET
Search Results for

    Показать/Скрыть содержание

    Class CpSHA256

    Computes the SHA256 hash for the input data.

    Inheritance
    object
    HashAlgorithm
    CpSHA256
    Implements
    ICryptoTransform
    IDisposable
    Inherited Members
    HashAlgorithm.HashSizeValue
    HashAlgorithm.HashValue
    HashAlgorithm.State
    HashAlgorithm.Clear()
    HashAlgorithm.ComputeHash(byte[])
    HashAlgorithm.ComputeHash(byte[], int, int)
    HashAlgorithm.ComputeHash(Stream)
    HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)
    HashAlgorithm.Create(string)
    HashAlgorithm.Dispose()
    HashAlgorithm.Dispose(bool)
    HashAlgorithm.HashCore(byte[], int, int)
    HashAlgorithm.HashCore(ReadOnlySpan<byte>)
    HashAlgorithm.HashFinal()
    HashAlgorithm.Initialize()
    HashAlgorithm.TransformBlock(byte[], int, int, byte[], int)
    HashAlgorithm.TransformFinalBlock(byte[], int, int)
    HashAlgorithm.TryComputeHash(ReadOnlySpan<byte>, Span<byte>, out int)
    HashAlgorithm.TryHashFinal(Span<byte>, out int)
    HashAlgorithm.CanReuseTransform
    HashAlgorithm.CanTransformMultipleBlocks
    HashAlgorithm.Hash
    HashAlgorithm.HashSize
    HashAlgorithm.InputBlockSize
    HashAlgorithm.OutputBlockSize
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CryptoPro.Security.Cryptography
    Assembly: CryptoPro.Security.Cryptography.dll
    Syntax
    public abstract class CpSHA256 : HashAlgorithm, ICryptoTransform, IDisposable

    Constructors

    CpSHA256()

    Initializes a new instance of CpSHA256.

    Declaration
    protected CpSHA256()

    Fields

    HashSizeInBits

    The hash size produced by the SHA256 algorithm, in bits.

    Declaration
    public const int HashSizeInBits = 256
    Field Value
    Type Description
    int

    HashSizeInBytes

    The hash size produced by the SHA256 algorithm, in bytes.

    Declaration
    public const int HashSizeInBytes = 32
    Field Value
    Type Description
    int

    Methods

    Create()

    Create a default implementation of SHA256 hash algorithm.

    Declaration
    public static CpSHA256 Create()
    Returns
    Type Description
    CpSHA256

    Implements

    ICryptoTransform
    IDisposable
    В этом разделе
    Наверх Generated by DocFX