not true:hiring company can find out your salary during
some well established company provide salary information for background check.
most private and some public company do not expose salary information to bc.
unless bc ask you provide w2, they can't find all your salary history.