protected function _openssl_get_handle($cipher, $mode) { // OpenSSL methods aren't suffixed with '-stream' for this mode return $mode === 'stream' ? $cipher : $cipher . '-' . $mode; }