What was gained by the hash?
Yes, that's exactly what he was doing to begin with. The salt (kept secret) is to prevent an attacker from using the published hash value to enumerate the space of possible inputs as (allegedly but somewhat implausibly) happened here.