Encrypt n decrypt done for input length of 2