#include <crypto.h>
Inheritance diagram for Hash_Base:

Public Member Functions | |
| Hash_Base () | |
| Initialize this hash. | |
| virtual | ~Hash_Base () |
| bool | SetKey (DataChunk &Key) |
| Set a hashing key (if required). | |
| bool | SetKey (DataChunkPtr &Key) |
| Set a hashing key (if required). | |
| virtual bool | SetKey (size_t Size, const UInt8 *Key) |
| Set a hashing key (if required). | |
| void | HashData (DataChunk &Data) |
| Add the given data to the current hash being calculated. | |
| void | HashData (DataChunkPtr &Data) |
| Add the given data to the current hash being calculated. | |
| virtual void | HashData (size_t Size, const UInt8 *Data)=0 |
| Add the given data to the current hash being calculated. | |
| virtual DataChunkPtr | GetHash (void)=0 |
| Get the finished hash value. | |
| Hash_Base | ( | ) | [inline] |
Initialize this hash.
| virtual ~Hash_Base | ( | ) | [inline, virtual] |
| bool SetKey | ( | DataChunk & | Key | ) | [inline] |
Set a hashing key (if required).
| bool SetKey | ( | DataChunkPtr & | Key | ) | [inline] |
Set a hashing key (if required).
| virtual bool SetKey | ( | size_t | Size, | |
| const UInt8 * | Key | |||
| ) | [inline, virtual] |
| void HashData | ( | DataChunk & | Data | ) | [inline] |
Add the given data to the current hash being calculated.
| void HashData | ( | DataChunkPtr & | Data | ) | [inline] |
Add the given data to the current hash being calculated.
| virtual void HashData | ( | size_t | Size, | |
| const UInt8 * | Data | |||
| ) | [pure virtual] |
| virtual DataChunkPtr GetHash | ( | void | ) | [pure virtual] |
1.5.1-p1