I agree with the overall message of your comment. Just for people looking on, I should make clear that most jurisdictions do not have ANY law that would ban a company from disclosing truthful, public information about a former employee, and it would be hard to make a case that disclosing a former employee's salary (which arguably is not "public" information for most business corporations) is in any way illegal. A company may or may disclose that, depending on its own policies. (Most companies don't disclose very much besides dates of employment, but you can't count on that as a matter of law.)