Class MD4
Implementation of the MD4 hashing algorithm.
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Utilities
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public sealed class MD4 : HashAlgorithm, ICryptoTransform, IDisposable
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[], int, int)
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. |
int | ibStart | The offset into the byte array from which to begin using data. |
int | cbSize | The number of bytes in the byte array to use as data. |
Overrides
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. |
Overrides
Initialize()
Resets the hash algorithm to its initial state.
Declaration
public override void Initialize()