Separated hash calculation for http and udp trackers