Class HashProvider
Inheritance
System.Object
HashProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Catalyst.Core.Modules.Hashing.dll
Syntax
public class HashProvider : IHashProvider
Constructors
|
Improve this Doc
View Source
HashProvider(HashingAlgorithm)
Declaration
public HashProvider(HashingAlgorithm hashingAlgorithm)
Parameters
Type |
Name |
Description |
HashingAlgorithm |
hashingAlgorithm |
|
Properties
|
Improve this Doc
View Source
HashingAlgorithm
Declaration
public HashingAlgorithm HashingAlgorithm { get; set; }
Property Value
Type |
Description |
HashingAlgorithm |
|
Methods
|
Improve this Doc
View Source
Cast(Byte[])
Declaration
public MultiHash Cast(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Type |
Description |
MultiHash |
|
|
Improve this Doc
View Source
ComputeMultiHash(Byte[])
Declaration
public MultiHash ComputeMultiHash(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Type |
Description |
MultiHash |
|
|
Improve this Doc
View Source
ComputeMultiHash(IEnumerable<Byte>)
Declaration
public MultiHash ComputeMultiHash(IEnumerable<byte> data)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Byte> |
data |
|
Returns
Type |
Description |
MultiHash |
|
|
Improve this Doc
View Source
ComputeMultiHash(Stream)
Declaration
public MultiHash ComputeMultiHash(Stream data)
Parameters
Type |
Name |
Description |
System.IO.Stream |
data |
|
Returns
Type |
Description |
MultiHash |
|
|
Improve this Doc
View Source
ComputeUtf8MultiHash(String)
Declaration
public MultiHash ComputeUtf8MultiHash(string data)
Parameters
Type |
Name |
Description |
System.String |
data |
|
Returns
Type |
Description |
MultiHash |
|
|
Improve this Doc
View Source
IsValidHash(Byte[])
Declaration
public bool IsValidHash(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Type |
Description |
System.Boolean |
|
Implements