15.07.2012, 15:32
I've been looking for a collision-less hash function for non-encryption purposes, and found this one that they claim to be the best.
http://code.******.com/p/smhasher/so...urmurHash3.cpp
The thing is that it is written on C++. I've attempted to convert it, but those 8, 32 byte variables (u_int8/32_t) make me think they can't be simply converted to 'new'. Maybe someone could do it for me? Or even release it in an include.
Thanks in advance.
http://code.******.com/p/smhasher/so...urmurHash3.cpp
The thing is that it is written on C++. I've attempted to convert it, but those 8, 32 byte variables (u_int8/32_t) make me think they can't be simply converted to 'new'. Maybe someone could do it for me? Or even release it in an include.
Thanks in advance.