C# Class Brunet.Security.NullHash

Provides a Null HashAlgorithm, its blazing fast! Typically, these classes are not thread-safe, but the block-size is 1, there is no history, and the result is always an empty byte array.
Inheritance: System.Security.Cryptography.HashAlgorithm
Show file Open project: johnynek/brunet Class Usage Examples

Public Methods

Method Description
Initialize ( ) : void
NullHash ( ) : System

Protected Methods

Method Description
HashCore ( byte rgb, int start, int size ) : void
HashFinal ( ) : byte[]

Method Details

HashCore() protected method

protected HashCore ( byte rgb, int start, int size ) : void
rgb byte
start int
size int
return void

HashFinal() protected method

protected HashFinal ( ) : byte[]
return byte[]

Initialize() public method

public Initialize ( ) : void
return void

NullHash() public method

public NullHash ( ) : System
return System