In cryptography , a product cipher is a popular type of block ciphers that works by executing in sequence a number of simple transformations such as substitution , permutation , and modular arithmetic . The product cipher combines a sequence of simple transformations such as substitution , permutation , and modular arithmetic .