Added command line option -i to specify the number of encryption