added mcrypt class