CI_Encryption::_mcrypt_get_handle PHP Method

_mcrypt_get_handle() protected method

Get MCrypt handle
protected _mcrypt_get_handle ( string $cipher, string $mode ) : resource
$cipher string Cipher name
$mode string Encryption mode
return resource
    protected function _mcrypt_get_handle($cipher, $mode)
    {
        return mcrypt_module_open($cipher, '', $mode, '');
    }