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

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

    Class Gost3411_2012_256CryptoServiceProvider

    Inheritance
    object
    HashAlgorithm
    Gost3411_2012_256
    Gost3411_2012_256CryptoServiceProvider
    Implements
    ICryptoTransform
    IDisposable
    Inherited Members
    Gost3411_2012_256.HashSizeInBits
    Gost3411_2012_256.HashSizeInBytes
    Gost3411_2012_256.Create()
    HashAlgorithm.Clear()
    HashAlgorithm.ComputeHash(byte[])
    HashAlgorithm.ComputeHash(byte[], int, int)
    HashAlgorithm.ComputeHash(Stream)
    HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)
    HashAlgorithm.Create(string)
    HashAlgorithm.Dispose()
    HashAlgorithm.TransformBlock(byte[], int, int, byte[], int)
    HashAlgorithm.TransformFinalBlock(byte[], int, int)
    HashAlgorithm.TryComputeHash(ReadOnlySpan<byte>, 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.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CryptoPro.Security.Cryptography
    Assembly: CryptoPro.Security.Cryptography.dll
    Syntax
    public sealed class Gost3411_2012_256CryptoServiceProvider : Gost3411_2012_256, ICryptoTransform, IDisposable

    Constructors

    Gost3411_2012_256CryptoServiceProvider()

    Declaration
    public Gost3411_2012_256CryptoServiceProvider()

    Methods

    Dispose(bool)

    Releases the unmanaged resources used by the HashAlgorithm and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    HashAlgorithm.Dispose(bool)

    HashCore(byte[], int, int)

    When overridden in a derived class, routes data written to the object into the hash algorithm for computing the hash.

    Declaration
    protected override void HashCore(byte[] array, int ibStart, int cbSize)
    Parameters
    Type Name Description
    byte[] array

    The input to compute the hash code for.

    int ibStart

    The offset into the byte array from which to begin using data.

    int cbSize

    The number of bytes in the byte array to use as data.

    Overrides
    HashAlgorithm.HashCore(byte[], int, int)

    HashCore(ReadOnlySpan<byte>)

    Routes data written to the object into the hash algorithm for computing the hash.

    Declaration
    protected override void HashCore(ReadOnlySpan<byte> source)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> source

    The input to compute the hash code for.

    Overrides
    HashAlgorithm.HashCore(ReadOnlySpan<byte>)

    HashFinal()

    When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic hash algorithm.

    Declaration
    protected override byte[] HashFinal()
    Returns
    Type Description
    byte[]

    The computed hash code.

    Overrides
    HashAlgorithm.HashFinal()

    Initialize()

    Resets the hash algorithm to its initial state.

    Declaration
    public override void Initialize()
    Overrides
    HashAlgorithm.Initialize()

    TryHashFinal(Span<byte>, out int)

    Attempts to finalize the hash computation after the last data is processed by the hash algorithm.

    Declaration
    protected override bool TryHashFinal(Span<byte> destination, out int bytesWritten)
    Parameters
    Type Name Description
    Span<byte> destination

    The buffer to receive the hash value.

    int bytesWritten

    When this method returns, the total number of bytes written into destination. This parameter is treated as uninitialized.

    Returns
    Type Description
    bool

    true if destination is long enough to receive the hash value; otherwise, false.

    Overrides
    HashAlgorithm.TryHashFinal(Span<byte>, out int)

    Implements

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