Update hash.cpp

*_t types are not defined. Swap for unsigned int and unsigned char etc.