The design of masking processes by the method of minimal divergence