Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MD5SHA1 Class

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

Computes the combined MD5/SHA1 hash for the input data.

Syntax
public class MD5SHA1 : HashAlgorithm, ICryptoTransform, IDisposable
Inheritance
Object
HashAlgorithm
MD5SHA1
Implements
ICryptoTransform
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
HashAlgorithm.CanReuseTransform
HashAlgorithm.CanTransformMultipleBlocks
HashAlgorithm.Clear()
HashAlgorithm.ComputeHash(Byte[])
HashAlgorithm.ComputeHash(Byte[], Int32, Int32)
HashAlgorithm.ComputeHash(Stream)
HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)
HashAlgorithm.Create(String)
HashAlgorithm.Dispose()
HashAlgorithm.Hash
HashAlgorithm.HashCore(ReadOnlySpan<Byte>)
HashAlgorithm.HashSize
HashAlgorithm.HashSizeValue
HashAlgorithm.HashValue
HashAlgorithm.InputBlockSize
HashAlgorithm.OutputBlockSize
HashAlgorithm.State
HashAlgorithm.TransformBlock(Byte[], Int32, Int32, Byte[], Int32)
HashAlgorithm.TransformFinalBlock(Byte[], Int32, Int32)
HashAlgorithm.TryComputeHash(ReadOnlySpan<Byte>, Span<Byte>, Int32)
HashAlgorithm.TryHashFinal(Span<Byte>, Int32)

Remarks

The resulting hash value is 36 bytes long. Bytes 0..15 contain the MD5 hash and bytes 16..35 contain the SHA1 hash.

Constructors

Name Description
MD5SHA1()

Initializes a new instance of the MD5SHA1 class.

Properties

Name Description
MD5

Returns the underlying instance of the MD5 object that is used to compute the MD5 part of the combined hash.

SHA1

Returns the underlying instance of the SHA1 object that is used to compute the SHA1 part of the combined hash.

Methods

Name Description
Create()

Creates an instance of the MD5SHA1 hash algorithm.

Dispose(Boolean)

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

HashCore(Byte[], Int32, Int32)

Routes data written to the object into MD5 and SHA1 hash algorithms for computing the hash.

HashFinal()

Returns the computed MD5SHA1 hash as an array of bytes after all data has been written to the object.

Initialize()

Initializes an instance of MD5SHA1.

In This Article
  • Remarks
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies