Improve wavepacket ID generation by using stronger hash functions