It’s not unheard of for some companies to require salary silence among their employees—not just as a request but as a command. Look at the fine print on your hiring contract and make sure you aren’t barred from discussing salary with fellow coworkers.
If a non-disclosure clause exists in your contract, try negotiating a change to that section before signing. Always check the fine print of any contracts you sign.