These substitution techniques are useful when there are a large number of possibilities and we want to change the data using some algorithms. These methods can be classified into two types.