Class FinHashSha256Sha256

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Implements the IFinHashAlgorithm interface based on the stupid double SHA-256 hashing that was invented by HBCI.

public class FinHashSha256Sha256 : IFinHashAlgorithm
Inheritance
FinHashSha256Sha256
Implements
Inherited Members

Constructors

FinHashSha256Sha256()

Required default constructor.

public FinHashSha256Sha256()

Methods

Finalise()

Finalise double SHA-256 computation and return resulting hash value.

public byte[] Finalise()

Returns

byte[]

Hash(FinByteBuffer)

Add data buffer to SHA-256 hash value.

public void Hash(FinByteBuffer aDataBuffer)

Parameters

aDataBuffer FinByteBuffer

The data buffer to be added. Must not be null.

Exceptions

ArgumentNullException

Parameter aDataBuffer was null.

Initialise()

(Re-)Initialise the SHA-256 engine.

public void Initialise()