Class FinHashSha1
Implements the IFinHashAlgorithm interface based on the the SHA-1 hash algorithm.
Inheritance
System.Object
FinHashSha1
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 FinHashSha1 : IFinHashAlgorithm
Constructors
FinHashSha1()
Required default constructor.
Declaration
public FinHashSha1()
Methods
Finalise()
Finalise SHA-1 computation and return resulting hash value.
Declaration
public byte[] Finalise()
Returns
Type | Description |
---|---|
System.Byte[] |
Hash(FinByteBuffer)
Add data buffer to SHA-1 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-1 engine.
Declaration
public void Initialise()