Anti-Hack Hash


I don’t know much about coding and i have a question about anti hacking measures.
To program a hack hackers need specific data from the games code such as ID’s wich (as far as i know) do not change automatically.
Shouldn’t it be possible to write a plugin with an algorithm that automatically changes defined values like ID’s with some self defined hash value before baking?

The rough idea is to them program a tracker software for the server the application is running on to flag client’s that send outdated packages.
Also hackers would have to do much more ground work after every update instead of changing just a few values. Would it make sense if UE4 would have such an function for online games?