Lack of salary transparency—better for corporate morale?

Everything that I have heard and read indicates that such costs are large for jobs that require substantial skill.