masking shared secret info if present