CI_Encryption::_openssl_get_handle PHP 메소드

_openssl_get_handle() 보호된 메소드

Get OpenSSL handle
protected _openssl_get_handle ( string $cipher, string $mode ) : string
$cipher string Cipher name
$mode string Encryption mode
리턴 string
    protected function _openssl_get_handle($cipher, $mode)
    {
        // OpenSSL methods aren't suffixed with '-stream' for this mode
        return $mode === 'stream' ? $cipher : $cipher . '-' . $mode;
    }