This extends to not wanting to discuss salary with coworkers, by the way. The common conception is the bosses want to hold us down so they tell us not to talk about it. But I’ve been in multiple situations where I didn’t want to.
I knew I was making more, and it wasn’t because i was the best- in some cases I was lucky, sometimes I just negotiated better. But in either case there’s really no upside to disclosing.