SemysHash*Data

01 Hashes a memory block and returns the hash value.
02

uint32 SemysHash32Data(byte const *pData, uint32 size);
uint64 SemysHash64Data(byte const *pData, uint32 size);
size_t SemysHashTData(byte const *pData, uint32 size);

03 Parameters:
  • pData: The pointer to the data to hash.
  • size: The amount of bytes to use for the algorithm (size of pData).
04 Return Values:
The generated hash values.
05 Two variants exist: one for 32bit and one for 64bit hash values.
06 SemysHashTData is actually a (const) pointer to one of the other two functions according to sizeof(size_t). If it is 8, the 64bit variant will be used, otherwise the 32bit variant.
07 Reference: SemysHash.h
Implementation: Semys Library
See Also: Hash Sub-System, SemysHash*DataAdd()

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.