dca_interface
6.3.4
|
#include <malware_hashdata.h>
Definition of the Hash class.
The Hash class defines the base class used for a SHA-256 Hash.
Definition at line 28 of file malware_hashdata.h.
Public Member Functions | |
Hash (const unsigned char *buffer, size_t buffer_len) | |
Constructs an Hash class with a given data buffer and its length. More... | |
dca_malware::Hash::Hash | ( | const unsigned char * | buffer, |
size_t | buffer_len | ||
) |
Constructs an Hash class with a given data buffer and its length.
[in] | buffer | Pointer to a char buffer that contains the hash binary data to use. The buffer is not copied and must exist until the classification call returns, and for the lifetime of the Hash class. It must include a trailing 0x00 byte |
[in] | buffer_len | The length in characters of the buffer. It must be 32 as we only support SHA-256 hashes for now |