Friday, 10 September 2010

C++ DiceLockSecurity Namespace

Source Code

HOW TO

DicelockSecurity (version 3.X)
BaseHash Print E-mail
BaseHash Class   d-64class-abst.png
Get FREE HashDigester
C++ Hash Algorithms
Windows DLL

Abstract class


Implements the base class for all hash algorithm classes.

The class contains:

  Constructors & Destructor
  Initializer methods
  Class methods



Class Constructors & Destructors

d-const.png

  BaseHash ();
    Creates an object of the base class, sets the default values for common members of all derived hash classes.

d-const.png

  BaseHash (BaseCryptoRandomStream* hashStream);
    Creates an object of the base class, sets the default values for common members of all derived classes and sets the BaseCryptoRandomStream hashStream object (Message Digest stream) passed as the digest that will be used by the specific hash algorithm.

d-dest.png

  ~BaseHash ();
    Destroys the object and clears all common members.

Class Initializer

d-abstract.png

  virtual void Initialize(void); [ Virtual method ]
    Sets the default values to all common members.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class. 



Class Methods

d-abstract.png

  virtual void Add(BaseCryptoRandomStream* dataStream); [ Virtual method ]
    Adds the BaseCryptoRandomStream dataStream object to hash and hashes it with all previous added BaseCryptoRandomStream dataStream objects.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class.   

d-abstract.png

  virtual void Finalize(void); [ Virtual method ]
    Finalizes the hash computation with all added BaseCryptoRandomStream dataStream objects.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class.   

d-abstract.png

 

  virtual unsigned short int GetBitHashLength(void); [ Virtual method ] 
    Gets the Hash stream length measured in bits that the specific hash algorithm works with.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class.   

d-abstract.png

 

  virtual unsigned short int GetUCHashLength(void); [ Virtual method ] 
    Gets the Hash stream length measured in bytes (unsigned chars) that the specific hash algorithm works with.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class.   

d-abstract.png

 

  virtual unsigned short int GetULHashLength(void); [ Virtual method ] 
    Gets the Hash stream length measured in 4 bytes (usigned long ints) that the specific hash algorithm works with.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class. 

d-set.png

  void SetMessageDigest (BaseCryptoRandomStream* hashStream);
    Sets the BaseCryptoRandomStream hashStream object (Message Digest stream) passed as the digest that will be used by the specific hash algorithm.

d-get.png

  BaseCryptoRandomStream* GetMessageDigest (void);
    Gets the BaseCryptoRandomStream hashStream object used by the hash algorithm object.

d-abstract.png

  virtual Hashes GetType(void); [ Virtual method ]
    Gets the hash algorithm type (the algorithm that implements) of the object.
Returns one of the Hashes values.

Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class. 

You can check the page Used Symbols for an explanation of the symbols near the information.

 

Please, let us know the usefulness of the information, it will allow us to be able to improve the support.

Was the information useful?

Vote
 
 



Close Me  
Get FREE Random Number Test Windows DLL !
Get FREE Hash Algorithms Windows DLL !