Class MD4
Implementation of the MD4 hashing algorithm.
Namespace: UnityEditor.Build.Pipeline.Utilities
Syntax
public sealed class MD4 : HashAlgorithm
Methods
Create()
Creates a new MD4 hashing algorithm object.
Declaration
public static MD4 Create()
Returns
Type | Description |
---|---|
MD4 | Returns the new MD4 hashing algorithm instance. |
HashCore(Byte[], Int32, Int32)
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. |
Int32 | ibStart | The offset into the byte array from which to begin using data. |
Int32 | cbSize | The number of bytes in the byte array to use as data. |
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[] | Returns the computed hash. |
Initialize()
Resets the hash algorithm to its initial state.
Declaration
public override void Initialize()