A simple abstraction for PHP's mcrypt extension.