docs.unity3d.com
    Show / Hide Table of Contents

    Class MD4

    Implementation of the MD4 hashing algorithm.

    Inheritance
    Object
    HashAlgorithm
    MD4
    Namespace: UnityEditor.Build.Pipeline.Utilities
    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[], 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.

    Overrides
    HashAlgorithm.HashCore(Byte[], Int32, Int32)

    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
    HashAlgorithm.HashFinal()

    Initialize()

    Resets the hash algorithm to its initial state.

    Declaration
    public override void Initialize()
    Overrides
    HashAlgorithm.Initialize()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023