stdex
Additional custom or not Standard C++ covered algorithms
|
Hashes as CRC32. More...
#include <stdex/hash.hpp>
Public Member Functions | |
crc32_hash (crc32_t crc=0) | |
virtual void | clear () |
Initializes hash value and internal state. | |
virtual void | hash (_In_reads_bytes_opt_(length) const void *data, size_t length) |
Hashes block of data. | |
virtual void | finalize () |
Finalizes hash value. | |
![]() | |
const crc32_t & | data () |
Returns hash value. | |
operator const crc32_t & () const | |
Returns hash value. | |
Additional Inherited Members | |
![]() | |
static size_t | size () |
Returns size of the hash value in bytes. | |
![]() | |
crc32_t | m_value |
Hashes as CRC32.
|
inlinevirtual |
Initializes hash value and internal state.
Implements stdex::basic_hash< crc32_t >.
|
inlinevirtual |
Finalizes hash value.
Implements stdex::basic_hash< crc32_t >.
|
inlinevirtual |
Hashes block of data.
[in] | data | Pointer to data |
[in] | length | Amount of data in bytes |
Implements stdex::basic_hash< crc32_t >.