is it necessary to have here const char*? I would suggest rather crc32.