<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.hash-algos.php',
    1 => 'hash_algos',
    2 => 'Liefert eine Liste der verf&uuml;gbaren Hashing-Algorithmen',
  ),
  'up' => 
  array (
    0 => 'ref.hash.php',
    1 => 'Hash-Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.hash.php',
    1 => 'hash',
  ),
  'next' => 
  array (
    0 => 'function.hash-copy.php',
    1 => 'hash_copy',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/hash/functions/hash-algos.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.hash-algos" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">hash_algos</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_algos</span> &mdash; <span class="dc-title">Liefert eine Liste der verfügbaren Hashing-Algorithmen</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.hash-algos-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>hash_algos</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.hash-algos-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">Diese Funktion besitzt keine Parameter.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.hash-algos-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt ein nicht-assoziatives Array mit allen unterstützten
   Hashing-Algorithmen zurück.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.hash-algos-changelog">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.1.0</td>
       <td>
        Die Unterstützung für die Algorithmen MurmurHash3 und xxHash wurde
        hinzugefügt.
       </td>
      </tr>

      <tr>
       <td>7.4.0</td>
       <td>
        Die Ünterstützung für crc32c wurde hinzugefügt.
       </td>
      </tr>

      <tr>
       <td>7.1.0</td>
       <td>
        Die Unterstützung für sha512/224, sha512/256, sha3-224, sha3-256,
        sha3-384 und sha3-512 wurde hinzugefügt.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.hash-algos-examples">
  <h3 class="title">Beispiele</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Beispiel #1 <span class="function"><strong>hash_algos()</strong></span>-Beispiel</strong></p>
    <div class="example-contents"><p>
     Von PHP 8.1.0 an gibt <span class="function"><strong>hash_algos()</strong></span> die folgende Liste
     von Algorithmen zurück:
    </p></div>
    <div class="example-contents">
<div class="annotation-interactive phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">hash_algos</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>Das oben gezeigte Beispiel erzeugt
eine ähnliche Ausgabe wie:</p></div>
    <div class="example-contents screen">
<div class="annotation-interactive examplescode"><pre class="examplescode">Array
(
    [0] =&gt; md2
    [1] =&gt; md4
    [2] =&gt; md5
    [3] =&gt; sha1
    [4] =&gt; sha224
    [5] =&gt; sha256
    [6] =&gt; sha384
    [7] =&gt; sha512/224
    [8] =&gt; sha512/256
    [9] =&gt; sha512
    [10] =&gt; sha3-224
    [11] =&gt; sha3-256
    [12] =&gt; sha3-384
    [13] =&gt; sha3-512
    [14] =&gt; ripemd128
    [15] =&gt; ripemd160
    [16] =&gt; ripemd256
    [17] =&gt; ripemd320
    [18] =&gt; whirlpool
    [19] =&gt; tiger128,3
    [20] =&gt; tiger160,3
    [21] =&gt; tiger192,3
    [22] =&gt; tiger128,4
    [23] =&gt; tiger160,4
    [24] =&gt; tiger192,4
    [25] =&gt; snefru
    [26] =&gt; snefru256
    [27] =&gt; gost
    [28] =&gt; gost-crypto
    [29] =&gt; adler32
    [30] =&gt; crc32
    [31] =&gt; crc32b
    [32] =&gt; crc32c
    [33] =&gt; fnv132
    [34] =&gt; fnv1a32
    [35] =&gt; fnv164
    [36] =&gt; fnv1a64
    [37] =&gt; joaat
    [38] =&gt; murmur3a
    [39] =&gt; murmur3c
    [40] =&gt; murmur3f
    [41] =&gt; xxh32
    [42] =&gt; xxh64
    [43] =&gt; xxh3
    [44] =&gt; xxh128
    [45] =&gt; haval128,3
    [46] =&gt; haval160,3
    [47] =&gt; haval192,3
    [48] =&gt; haval224,3
    [49] =&gt; haval256,3
    [50] =&gt; haval128,4
    [51] =&gt; haval160,4
    [52] =&gt; haval192,4
    [53] =&gt; haval224,4
    [54] =&gt; haval256,4
    [55] =&gt; haval128,5
    [56] =&gt; haval160,5
    [57] =&gt; haval192,5
    [58] =&gt; haval224,5
    [59] =&gt; haval256,5
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.hash-algos-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.hash.php" class="function" rel="rdfs-seeAlso">hash()</a> - Berechnet den Hash einer Nachricht</span></li>
   <li><span class="function"><a href="function.hash-hmac-algos.php" class="function" rel="rdfs-seeAlso">hash_hmac_algos()</a> - Return a list of registered hashing algorithms suitable for hash_hmac</span></li>
  </ul>
 </div>


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