Search Results for

    Show / Hide Table of Contents

    Class HashContextBase

    A hash context.

    Inheritance
    System.Object
    HashContextBase
    HashContext
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class HashContextBase : object

    Constructors

    HashContextBase(HashType)

    Initializes a new instance of the HashContextBase class.

    Declaration
    public HashContextBase(HashType type)
    Parameters
    Type Name Description
    HashType type

    The type.

    Properties

    Type

    Gets the type.

    Declaration
    public HashType Type { get; }
    Property Value
    Type Description
    HashType

    Methods

    Compute(DataBuffer)

    Computes the hash.

    Declaration
    public DataBuffer Compute(DataBuffer input)
    Parameters
    Type Name Description
    DataBuffer input

    The input.

    Returns
    Type Description
    DataBuffer

    Compute(HashType, DataBuffer)

    Computes the hash for a given type.

    Declaration
    public static DataBuffer Compute(HashType type, DataBuffer input)
    Parameters
    Type Name Description
    HashType type

    The type.

    DataBuffer input

    The input.

    Returns
    Type Description
    DataBuffer

    Compute(HashType, String)

    Computes the hash for a given type.

    Declaration
    public static DataBuffer Compute(HashType type, string inputString)
    Parameters
    Type Name Description
    HashType type

    The type.

    System.String inputString

    The input string.

    Returns
    Type Description
    DataBuffer

    Compute(String)

    Computes the hash.

    Declaration
    public DataBuffer Compute(string inputString)
    Parameters
    Type Name Description
    System.String inputString

    The input.

    Returns
    Type Description
    DataBuffer

    Destroy()

    Destroys this instance.

    Declaration
    public void Destroy()

    DoCompute(DataBuffer)

    Computes the hash.

    Declaration
    protected abstract DataBuffer DoCompute(DataBuffer input)
    Parameters
    Type Name Description
    DataBuffer input

    The input.

    Returns
    Type Description
    DataBuffer

    DoDestroy()

    Destroys this instance.

    Declaration
    protected abstract void DoDestroy()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0