Data.HashFunction 3.1.1
DHF
Loading...
Searching...
No Matches
Data.HashFunction.IHashFunction_Extensions Class Reference

Static class to provide extension functions for IHashFunction instances. More...

Static Public Member Functions

static IHashValue ComputeHash (this IHashFunction hashFunction, bool data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, byte data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, char data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, double data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, float data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, int data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, long data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, sbyte data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, short data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, string data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, uint data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, ulong data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, ushort data)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, bool data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, byte data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, char data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, double data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, float data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, int data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, long data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, sbyte data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, short data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, string data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, uint data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, ulong data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, ushort data, int desiredHashSize)
 Computes hash value for given data.
 
static IHashValue ComputeHash (this IHashFunction hashFunction, byte[] data, int desiredHashSize)
 Computes hash value for given data.
 

Detailed Description

Static class to provide extension functions for IHashFunction instances.

Member Function Documentation

◆ ComputeHash() [1/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
bool data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data.
+ Here is the call graph for this function:

◆ ComputeHash() [2/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
bool data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [3/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
byte data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data.
+ Here is the call graph for this function:

◆ ComputeHash() [4/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
byte data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [5/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
byte[] data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [6/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
char data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [7/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
char data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [8/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
double data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [9/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
double data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [10/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
float data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [11/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
float data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [12/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
int data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [13/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
int data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [14/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
long data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [15/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
long data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [16/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
sbyte data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [17/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
sbyte data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [18/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
short data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [19/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
short data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [20/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
string data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.

UTF-8 encoding used to convert string to bytes.

+ Here is the call graph for this function:

◆ ComputeHash() [21/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
string data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.

UTF-8 encoding used to convert string to bytes.

+ Here is the call graph for this function:

◆ ComputeHash() [22/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
uint data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [23/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
uint data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [24/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
ulong data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [25/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
ulong data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [26/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
ushort data )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

◆ ComputeHash() [27/27]

static IHashValue Data.HashFunction.IHashFunction_Extensions.ComputeHash ( this IHashFunction hashFunction,
ushort data,
int desiredHashSize )
static

Computes hash value for given data.

Parameters
hashFunctionHash function to use.
dataData to be hashed.
desiredHashSizeDesired size of resulting hash, in bits.
Returns
Hash value of the data as byte array.
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: