class MD5

in global :: System . Security . Cryptography

Represents the abstract class from which all implementations of the hash algorithm inherit.


public static MD5 Create( string algName )

Creates an instance of the specified implementation of the hash algorithm.

  • algName The name of the specific implementation of to use.
  • Returns A new instance of the specified implementation of .

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 MD5 Create( )

😔 No documentation found.