abstract base class
More...
#include <hash.h>
|
| virtual std::string | operator() (const void *data, size_t numBytes)=0 |
| | compute hash of a memory block
|
| virtual std::string | operator() (const std::string &text)=0 |
| | compute hash of a string, excluding final zero
|
| virtual void | add (const void *data, size_t numBytes)=0 |
| | add arbitrary number of bytes
|
| virtual std::string | getHash ()=0 |
| | return latest hash as hex characters
|
| virtual void | reset ()=0 |
| | restart
|
abstract base class
Definition at line 20 of file hash.h.
◆ add()
| virtual void hash::Hash::add |
( |
const void * | data, |
|
|
size_t | numBytes ) |
|
pure virtual |
add arbitrary number of bytes
◆ getHash()
| virtual std::string hash::Hash::getHash |
( |
| ) |
|
|
pure virtual |
return latest hash as hex characters
◆ operator()() [1/2]
| virtual std::string hash::Hash::operator() |
( |
const std::string & | text | ) |
|
|
pure virtual |
compute hash of a string, excluding final zero
◆ operator()() [2/2]
| virtual std::string hash::Hash::operator() |
( |
const void * | data, |
|
|
size_t | numBytes ) |
|
pure virtual |
compute hash of a memory block
◆ reset()
| virtual void hash::Hash::reset |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/ubuntu/c/partner/psyclone2/CMSDK/include/hash/hash.h