C# Class DotNetCrypt.ManagedHashAlgorithmBase

An abstract base class for managed implementations of HashAlgorithm.
Inheritance: System.Security.Cryptography.HashAlgorithm
Datei anzeigen Open project: drizzt/KeePass-SerpentCipher

Private Properties

Property Type Description

Protected Methods

Method Description
HashCore ( byte array, int ibStart, int cbSize ) : void

Routes data written to the object into the hash algorithm for computing the hash.

TransformBlock ( byte array, int ibStart ) : void

When implemented in a derived class, transforms a single block of bytes using the chosen hash algorithm.

Method Details

HashCore() protected method

Routes data written to the object into the hash algorithm for computing the hash.
protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte /// The input to compute the hash code for. ///
ibStart int /// The offset into the byte array from which to begin using data. ///
cbSize int /// The number of bytes in the byte array to use as data. ///
return void

TransformBlock() protected abstract method

When implemented in a derived class, transforms a single block of bytes using the chosen hash algorithm.
protected abstract TransformBlock ( byte array, int ibStart ) : void
array byte /// An array containing the block of bytes. ///
ibStart int /// The offset of the start of the block within the array. ///
return void