The cognitive consequences of secrecy