add mcrypt mode option