class SHA256
in global :: System . Security . Cryptography
Computes the hash for the input data.
public static SHA256 Create( string hashName )
Creates an instance of a specified implementation of .
hashNameThe name of the specific implementation of to be used.- Returns A new instance of using the specified implementation.
public static int HashSizeInBytes
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public void Initialize( )
😔 No documentation found.
public byte[] TransformFinalBlock( byte[] inputBuffer, int inputOffset, int inputCount )
😔 No documentation found.
public int TransformBlock( byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset )
😔 No documentation found.
public bool CanReuseTransform { get; }
😔 No documentation found.
public bool CanTransformMultipleBlocks { get; }
😔 No documentation found.
public int OutputBlockSize { get; }
😔 No documentation found.
public int InputBlockSize { get; }
😔 No documentation found.
public void Clear( )
😔 No documentation found.
public void Dispose( )
😔 No documentation found.
public Task<byte[]> ComputeHashAsync( Stream inputStream, CancellationToken cancellationToken = null )
😔 No documentation found.
public byte[] ComputeHash( Stream inputStream )
😔 No documentation found.
public byte[] ComputeHash( byte[] buffer, int offset, int count )
😔 No documentation found.
public bool TryComputeHash( ReadOnlySpan<byte> source, Span<byte> destination, ref int bytesWritten )
😔 No documentation found.
public byte[] ComputeHash( byte[] buffer )
😔 No documentation found.
public byte[] Hash { get; }
😔 No documentation found.
public int HashSize { get; }
😔 No documentation found.
public static ValueTask<int> HashDataAsync( Stream source, Memory<byte> destination, CancellationToken cancellationToken = null )
😔 No documentation found.
public static ValueTask<byte[]> HashDataAsync( Stream source, CancellationToken cancellationToken = null )
😔 No documentation found.
public static byte[] HashData( Stream source )
😔 No documentation found.
public static int HashData( Stream source, Span<byte> destination )
😔 No documentation found.
public static bool TryHashData( ReadOnlySpan<byte> source, Span<byte> destination, ref int bytesWritten )
😔 No documentation found.
public static int HashData( ReadOnlySpan<byte> source, Span<byte> destination )
😔 No documentation found.
public static byte[] HashData( ReadOnlySpan<byte> source )
😔 No documentation found.
public static byte[] HashData( byte[] source )
😔 No documentation found.
public static int HashSizeInBits
😔 No documentation found.
public static SHA256 Create( )
😔 No documentation found.