use 32 bit hash function instead

This commit is contained in:
Syping 2020-10-25 14:18:57 +01:00
parent 07a14b5377
commit 5902743b45

View file

@ -12,7 +12,7 @@ const char* checkbrute_version()
return "0.1";
}
uint64_t checkbrute_hash64(unsigned char* data, size_t size)
uint32_t checkbrute_hash32(unsigned char* data, size_t size)
{
size_t i = 0;
uint32_t hash = 0;