The MD5 Hash is built off of the switches VTP configuration. So make sure the VTP passwords match and the VTP domain names match. I’ve also read that the VTP pruning and the VTP version also changes the MD5 digest.
So if making the changes does not solve your problem, then change the VTP mode to transparent then set it back to client/server for the switches with the problem. Check your VTP configuration after!