MD5SHA1 Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
Computes the combined MD5/SHA1 hash for the input data.
Syntax
public class MD5SHA1 : HashAlgorithm, ICryptoTransform, IDisposable
Inherited Members
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. |