ApparatusFramework::SHA1 Class Reference
[Pattern Services]

#include <PatternServices/current/include/SHA1.h>

Inheritance diagram for ApparatusFramework::SHA1:

List of all members.

Public Member Functions

virtual void getHash (uint8 *data, uint32 length, char *result, uint8 resultSize)
Construction and Destruction

 SHA1 ()
virtual ~SHA1 ()

Detailed Description

Implements a SHA1 hash algorithm with a HashAlgorithm interface. This class computes a hash value with the SHA1 algorithm.

Definition at line 61 of file SHA1.h.

Constructor & Destructor Documentation

ApparatusFramework::SHA1::SHA1 (  ) 

Constructs a new SHA1 object. Initialize the SHA1 object and the constant values.

virtual ApparatusFramework::SHA1::~SHA1 (  )  [virtual]

Destructs the object and releases all resources.

Member Function Documentation

virtual void ApparatusFramework::SHA1::getHash ( uint8 data,
uint32  length,
char *  result,
uint8  resultSize 
) [virtual]

Computes a SHA1 hash value.

in data array to compute a hash value from it.
in Length the length of the array.
out result a char pointer for the result.
in resultSize size of result.

Implements ApparatusFramework::HashAlgorithm.

© 2004-2010 bbv Software Services AG / Apparatus Services