C# Class Iaik.Utils.Hash.HashProvider

Hashes data with the specified algorithm and from the specified sources
Exibir arquivo Open project: areiter/InMemoryFuzzing Class Usage Examples

Protected Properties

Property Type Description
_hashAlgorithm System.Security.Cryptography.HashAlgorithm
_sHashAlgorithm string

Public Methods

Method Description
Hash ( ) : byte[]

Performs the hashing operation. The data is applied to the hash algorithm as they come in dataProviders.

Hash ( byte buffer, int index ) : void

Performs the hashing operation. The data is applied to the hash algorithm as they come in dataProviders.

HashProvider ( ) : System
HashProvider ( string hashAlgorithm ) : System

Method Details

Hash() public method

Performs the hashing operation. The data is applied to the hash algorithm as they come in dataProviders.
public Hash ( ) : byte[]
return byte[]

Hash() public method

Performs the hashing operation. The data is applied to the hash algorithm as they come in dataProviders.
public Hash ( byte buffer, int index ) : void
buffer byte
index int
return void

HashProvider() public method

public HashProvider ( ) : System
return System

HashProvider() public method

public HashProvider ( string hashAlgorithm ) : System
hashAlgorithm string
return System

Property Details

_hashAlgorithm protected_oe property

The hash algorithm instance to use
protected HashAlgorithm,System.Security.Cryptography _hashAlgorithm
return System.Security.Cryptography.HashAlgorithm

_sHashAlgorithm protected_oe property

Name of the hash algorithm
protected string _sHashAlgorithm
return string