Producing a masking specification