docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MD4

    Implementation of the MD4 hashing algorithm.

    Inheritance
    object
    HashAlgorithm
    MD4
    Implements
    ICryptoTransform
    IDisposable
    Inherited Members
    HashAlgorithm.Clear()
    HashAlgorithm.ComputeHash(byte[])
    HashAlgorithm.ComputeHash(byte[], int, int)
    HashAlgorithm.ComputeHash(Stream)
    HashAlgorithm.Create(string)
    HashAlgorithm.Dispose()
    HashAlgorithm.TransformBlock(byte[], int, int, byte[], int)
    HashAlgorithm.TransformFinalBlock(byte[], int, int)
    HashAlgorithm.CanReuseTransform
    HashAlgorithm.CanTransformMultipleBlocks
    HashAlgorithm.Hash
    HashAlgorithm.HashSize
    HashAlgorithm.InputBlockSize
    HashAlgorithm.OutputBlockSize
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    HashAlgorithm.HashCore(byte[], int, int)

    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()

    Implements

    ICryptoTransform
    IDisposable
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)