Click or drag to resize

DataHasher Class

This class provides functionality for hashing data.
Inheritance Hierarchy
SystemObject
  Guardtime.KSI.Crypto.BouncyCastle.HashingDataHasher

Namespace:  Guardtime.KSI.Crypto.BouncyCastle.Hashing
Assembly:  ksi-net-api-crypto-bouncycastle (in ksi-net-api-crypto-bouncycastle.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public class DataHasher : IDataHasher

The DataHasher type exposes the following members.

Constructors
  NameDescription
Public methodDataHasher
Create new Datahasher with given algorithm
Top
Methods
  NameDescription
Public methodAddData(Byte)
Adds data to the digest using the specified array of bytes, starting at an offset of 0.
Public methodAddData(Stream)
Adds data to the digest using the specified input stream of bytes, starting at an offset of 0.
Public methodAddData(Stream, Int32)
Adds data to the digest using the specified input stream of bytes, starting at an offset of 0.
Public methodAddData(Byte, Int32, Int32)
Updates the digest using the specified array of bytes, starting at the specified offset.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHash
Get the final hash value for the digest. This will not reset hash calculation.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Resets hash calculation.
Public methodToString (Inherited from Object.)
Top
See Also