Class FinHashSha1
Implements the IFinHashAlgorithm interface based on the the SHA-1 hash algorithm.
public class FinHashSha1 : IFinHashAlgorithm
- Inheritance
-
FinHashSha1
- Implements
- Inherited Members
Constructors
FinHashSha1()
Required default constructor.
public FinHashSha1()
Methods
Finalise()
Finalise SHA-1 computation and return resulting hash value.
public byte[] Finalise()
Returns
- byte[]
Hash(FinByteBuffer)
Add data buffer to SHA-1 hash value.
public void Hash(FinByteBuffer aDataBuffer)
Parameters
aDataBufferFinByteBufferThe data buffer to be added. Must not be
null.
Exceptions
- ArgumentNullException
Parameter aDataBuffer was
null.
Initialise()
(Re-)Initialise the SHA-1 engine.
public void Initialise()