mcrypt helper object