Show / Hide Table of Contents

    Interface IHashProvider

    Namespace: Catalyst.Abstractions.Hashing
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IHashProvider

    Properties

    | Improve this Doc View Source

    HashingAlgorithm

    Declaration
    HashingAlgorithm HashingAlgorithm { get; set; }
    Property Value
    Type Description
    HashingAlgorithm

    Methods

    | Improve this Doc View Source

    Cast(Byte[])

    Declaration
    MultiHash Cast(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data
    Returns
    Type Description
    MultiHash
    | Improve this Doc View Source

    ComputeMultiHash(Byte[])

    Declaration
    MultiHash ComputeMultiHash(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data
    Returns
    Type Description
    MultiHash
    | Improve this Doc View Source

    ComputeMultiHash(IEnumerable<Byte>)

    Declaration
    MultiHash ComputeMultiHash(IEnumerable<byte> content)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Byte> content
    Returns
    Type Description
    MultiHash
    | Improve this Doc View Source

    ComputeMultiHash(Stream)

    Declaration
    MultiHash ComputeMultiHash(Stream data)
    Parameters
    Type Name Description
    System.IO.Stream data
    Returns
    Type Description
    MultiHash
    | Improve this Doc View Source

    ComputeUtf8MultiHash(String)

    Declaration
    MultiHash ComputeUtf8MultiHash(string data)
    Parameters
    Type Name Description
    System.String data
    Returns
    Type Description
    MultiHash
    | Improve this Doc View Source

    IsValidHash(Byte[])

    Declaration
    bool IsValidHash(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network