C# Class PRI.ProductivityExtensions.HashAlgorithmExtensions.HashAlgorithmable

Class that contains extension methods that extend HashAlgorithm
Datei anzeigen Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
TransformBlock ( this hashalgorithm, Byte inputBuffer, Byte outputBuffer, Int32 outputOffset ) : Int32

Extends TransformBlock so that buffer offset of 0 and call to Array.Length are not needed. hashalgorithm.TransformBlock(inputBuffer, outputBuffer, outputOffset);

TransformFinalBlock ( this hashalgorithm, Byte inputBuffer ) : Byte[]

Extends TransformFinalBlock so that buffer offset of 0 and call to Array.Length are not needed. hashalgorithm.TransformFinalBlock(inputBuffer);

Method Details

TransformBlock() public static method

Extends TransformBlock so that buffer offset of 0 and call to Array.Length are not needed. hashalgorithm.TransformBlock(inputBuffer, outputBuffer, outputOffset);
public static TransformBlock ( this hashalgorithm, Byte inputBuffer, Byte outputBuffer, Int32 outputOffset ) : Int32
hashalgorithm this
inputBuffer Byte
outputBuffer Byte
outputOffset System.Int32
return System.Int32

TransformFinalBlock() public static method

Extends TransformFinalBlock so that buffer offset of 0 and call to Array.Length are not needed. hashalgorithm.TransformFinalBlock(inputBuffer);
public static TransformFinalBlock ( this hashalgorithm, Byte inputBuffer ) : Byte[]
hashalgorithm this
inputBuffer Byte
return Byte[]