Class FinHashSha256Sha256
Implements the IFinHashAlgorithm interface based on the stupid double SHA-256 hashing that was invented by HBCI.
Inheritance
System.Object
FinHashSha256Sha256
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinHashSha256Sha256 : IFinHashAlgorithm
Constructors
FinHashSha256Sha256()
Required default constructor.
Declaration
public FinHashSha256Sha256()
Methods
Finalise()
Finalise double SHA-256 computation and return resulting hash value.
Declaration
public byte[] Finalise()
Returns
Type | Description |
---|---|
System.Byte[] |
Hash(FinByteBuffer)
Add data buffer to SHA-256 hash value.
Declaration
public void Hash(FinByteBuffer aDataBuffer)
Parameters
Type | Name | Description |
---|---|---|
FinByteBuffer | aDataBuffer | The data buffer to be added. Must not be |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Parameter aDataBuffer was |
Initialise()
(Re-)Initialise the SHA-256 engine.
Declaration
public void Initialise()