<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.hash.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.hash.php',
    1 => 'hash',
    2 => 'Bir ileti aşı &uuml;retir',
  ),
  'up' => 
  array (
    0 => 'ref.hash.php',
    1 => 'Hash İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'ref.hash.php',
    1 => 'Hash İşlevleri',
  ),
  'next' => 
  array (
    0 => 'function.hash-algos.php',
    1 => 'hash_algos',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/hash/functions/hash.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.hash" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">hash</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.2, PHP 7, PHP 8, PECL hash &gt;= 1.1)</p><p class="refpurpose"><span class="refname">hash</span> &mdash; <span class="dc-title">Bir ileti aşı üretir</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.hash-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>hash</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$algo</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$veri</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$ham_çıktı</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$seçenekler</code><span class="initializer"> = []</span></span><br>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Bir ileti özeti üretir.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.hash-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">algo</code></dt>
     <dd>
      <p class="para">
       Seçilen aşlama algoritmasının ismi (örn, <code class="literal">&quot;sha256&quot;</code>).
       Desteklenen algoritmaların listesi
       <span class="function"><a href="function.hash-algos.php" class="function">hash_algos()</a></span> işlevinde bulunabilir.
      </p>
     </dd>
    
    
     <dt><code class="parameter">veri</code></dt>
     <dd>
      <p class="para">
       Aşlanacak ileti.
      </p>
     </dd>
    
    
     <dt><code class="parameter">ham_çıktı</code></dt>
     <dd>
      <p class="para">
       <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> olduğu takdirde ham ikil veri çıktılanır, aksi takdirde
       (<strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>) küçük harfli onaltılıklar çıktılanır.
      </p>
     </dd>
    
    
     <dt><code class="parameter">seçenekler</code></dt>
     <dd>
      <p class="para">
       Çeşitli aşlama algoritmaları için seçenekleri içeren dizi. Şimdilik
       sadece, MurmurHash türevleri <code class="literal">&quot;seed&quot;</code> bağımsız
       değişkenini desteklemektedir.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.hash-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Hesaplanan ileti aşını, <code class="parameter">ham_çıktı</code> için <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>
   belirtilmedikçe küçük harfli onaltılıklardan oluşan bir dizge olarak, aksi
   takdirde ham ikil gösterimi içeren bir dizge olarak çıktılar.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.hash-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.1.0</td>
      <td><code class="parameter">seçenekler</code> bağımsız değişkeni eklendi.</td>
     </tr>

     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">algo</code> bilinmiyorsa <span class="function"><strong>hash()</strong></span>
       işlevi artık bir <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> istisnası
       oluşturuyor; evvelce, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> dönerdi.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-function.hash-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - <span class="function"><strong>hash()</strong></span> örneği</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">echo </span><span style="color: #0000BB">hash</span><span style="color: #007700">(</span><span style="color: #DD0000">'sha256'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Pijamalı hasta yağız şoföre çabucak güvendi.'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>
Yukarıdaki örneğin çıktısı:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">04eb8190a875ba9b6d05edbb0873e47ad41c48c2fac96e404040568868f3f20d</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.hash-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.hash-init.php" class="function" rel="rdfs-seeAlso">hash_init()</a> - Ardışık aşlama bağlamını ilklendirir</span></li>
    <li><span class="function"><a href="function.hash-file.php" class="function" rel="rdfs-seeAlso">hash_file()</a> - Belirtilen dosyanın i&ccedil;eriğinden bir ileti aşı &uuml;retir</span></li>
    <li><span class="function"><a href="function.hash-hmac.php" class="function" rel="rdfs-seeAlso">hash_hmac()</a> - HMAC y&ouml;ntemini kullanarak bir anahtarlı ileti aşı &uuml;retir</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>