[PHP-DOC] cvs: phpdoc /de/functions mhash.xml From: Egon Schmid (eschmid <email protected>)
Date: 08/11/00

eschmid Fri Aug 11 07:18:56 2000 EDT

  Modified files:
    /phpdoc/de/functions mhash.xml
  Log:
  Translation by Jan Lehnardt.
  
Index: phpdoc/de/functions/mhash.xml
diff -u phpdoc/de/functions/mhash.xml:1.3 phpdoc/de/functions/mhash.xml:1.4
--- phpdoc/de/functions/mhash.xml:1.3 Sat Jun 24 00:38:42 2000
+++ phpdoc/de/functions/mhash.xml Fri Aug 11 07:18:56 2000
@@ -1,152 +1,182 @@
  <reference id="ref.mhash">
- <title>Hash functions</title>
+ <title>Hash Funktionen</title>
   <titleabbrev>mhash</titleabbrev>
-
- <partintro>
- <para>
- These functions are intended to work with <ulink url="&url.mhash;">mhash</ulink>.</para>
-
- <para>
- This is an interface to the mhash library. mhash supports a wide variety of
- hash algorithms such as MD5, SHA1, GOST, and many others.</para>
 
+ <partintro>
    <para>
- To use it, download the mhash distribution from <ulink url="&url.mhash;">its web site</ulink> and follow the included
- installation instructions. You need to compile PHP with the <option role="configure">--with-mhash</option> parameter to enable this
- extension.</para>
-
+ Diese Funktionen arbeiten zusammen mit <ulink
+ url="&url.mhash;">mhash</ulink>.
+ </para>
+ <para>
+ Dies ist eine Schnittstelle zu der Mhash Bibliothek. Mhash
+ unterstützt eine breite Auswahl an Hash Algorithmen, wie MD5,
+ SHA1, GOST, und viele andere.
+ </para>
+ <para>
+ Um sie zu verwenden, muss man die Mhash Distribution von <ulink
+ url="&url.mhash;">der Website</ulink> downloaden und der
+ beigefügten Instalationsanleitung folgen. PHP muss mit der Option
+ <option role="configure">--with-mhash</option> kompiliert werden
+ um diese Erweiterung zu aktivieren.
+ </para>
    <para>
- mhash can be used to create checksums, message digests, and more.</para>
-
+ Mhash wird verwendet um z.B. Checksummen und Mehr zu erstellen.
+ </para>
    <para>
     <example>
- <title>Compute the SHA1 key and print it out as hex</title>
+ <title>Berechne den SHA1 Schlüssel und gib es als Hex aus</title>
      <programlisting role="php">
 &lt;?php
-$input = "Let us meet at 9 o' clock at the secret place.";
+$input = "Lass uns um 9 Uhr an einem geheimen Ort treffen.";
 $hash = mhash(MHASH_SHA1, $input);
 
-print "The hash is ".bin2hex($hash)."\n";
+print "Der Hash ist " . bin2hex($hash)."\n";
 
 ?&gt;
      </programlisting>
     </example>
-
- This will produce:
-
+ Die Ausgabe ist:
     <programlisting>
-The hash is d3b85d710d8f6e4e5efd4d5e67d041f9cecedafe
+Der Hash ist d3b85d710d8f6e4e5efd4d5e67d041f9cecedafe
     </programlisting>
-
- For a complete list of supported hashes, refer to the documentation of
- mhash. The general rule is that you can access the hash algorithm from PHP
- with MHASH_HASHNAME. For example, to access HAVAL you use the PHP constant
- MHASH_HAVAL.</para>
-
- <para>
- Here is a list of hashes which are currently supported by mhash. If a
- hash is not listed here, but is listed by mhash as supported, you can
- safely assume that this documentation is outdated.
-
+ Eine komplette Liste aller unterstützen Hashes ist in der
+ Dokumentation von Mhash enthalten. Die allgemeine Verwendung ist,
+ dass man einen Hash Algorithmus von PHP mit MHASH_HASHNAME
+ erreicht. Z.B., um HAVAL zu erreichen benutzt man die PHP
+ Konstante MHASH_HAVAL.
+ </para>
+ <para>
+ Hier ist eine Liste von Hashs, die momentan von Mhash unterstützt
+ werden. Wenn ein Hash ist hier nicht aufgeführt ist, aber von
+ Mhash, laut Dokumentation, unterstützt wird, ist diese
+ Dokumentation als veraltet anzusehen.
     <itemizedlist>
-
- <listitem><simpara>
- MHASH_MD5</simpara></listitem>
- <listitem><simpara>
- MHASH_SHA1</simpara></listitem>
- <listitem><simpara>
- MHASH_HAVAL</simpara></listitem>
- <listitem><simpara>
- MHASH_RIPEMD160</simpara></listitem>
- <listitem><simpara>
- MHASH_RIPEMD128</simpara></listitem>
- <listitem><simpara>
- MHASH_SNEFRU</simpara></listitem>
- <listitem><simpara>
- MHASH_TIGER</simpara></listitem>
- <listitem><simpara>
- MHASH_GOST</simpara></listitem>
- <listitem><simpara>
- MHASH_CRC32</simpara></listitem>
- <listitem><simpara>
- MHASH_CRC32B</simpara></listitem>
-
- </itemizedlist></para>
-
+ <listitem>
+ <simpara>
+ MHASH_MD5
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_SHA1
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_HAVAL
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_RIPEMD160
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_RIPEMD128
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_SNEFRU
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_TIGER
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_GOST
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_CRC32
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ MHASH_CRC32B
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
   </partintro>
-
+
   <refentry id="function.mhash-get-hash-name">
    <refnamediv>
     <refname>mhash_get_hash_name</refname>
- <refpurpose>Get the name of the specified hash</refpurpose>
+ <refpurpose>Gibt den Namen eines Hashs zurück</refpurpose>
    </refnamediv>
    <refsect1>
- <title>Description</title>
+ <title>Beschreibung</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>string <function>mhash_get_hash_name</function></funcdef>
       <paramdef>int <parameter>hash</parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
-
- <para>
- <function>mhash_get_hash_name</function> is used to get the name of the
- specified hash.</para>
-
     <para>
- <function>mhash_get_hash_name</function> takes the hash id as an argument
- and returns the name of the hash or false, if the hash does not exist.</para>
-
+ <function>Mhash_get_hash_name</function> wird verwendet um den
+ Namen eines Hashes zu erfahren.
+ </para>
+ <para>
+ <function>Mhash_get_hash_name</function> nimmt die Hash Id als
+ Argument und gibt den Namen des Hashs zurück oder false, wenn der
+ Hash nicht existiert.
+ </para>
     <para>
      <example>
- <title>mhash_get_hash_name example</title>
- <programlisting>
+ <title>Mhash_get_hash_name Beispiel</title>
+ <programlisting role="php">
 &lt;?php
 $hash = MHASH_MD5;
 
-print mhash_get_hash_name($hash);
+print mhash_get_hash_name ($hash);
 ?&gt;
       </programlisting>
      </example>
-
- The above example will print out:
+ Das Beispiel oben gibt aus:
      <programlisting>
 MD5
- </programlisting></para>
-
+ </programlisting>
+ </para>
    </refsect1>
   </refentry>
-
+
   <refentry id="function.mhash-get-block-size">
    <refnamediv>
     <refname>mhash_get_block_size</refname>
- <refpurpose>Get the block size of the specified hash</refpurpose>
+ <refpurpose>
+ Gibt die Blockgroesse von dem übergebenem Hash zurück
+ </refpurpose>
    </refnamediv>
    <refsect1>
- <title>Description</title>
+ <title>Beschreibung</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>int <function>mhash_get_block_size</function></funcdef>
       <paramdef>int <parameter>hash</parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
-
- <para>
- <function>mhash_get_block_size</function> is used to get the size of a
- block of the specified <parameter>hash</parameter>.</para>
-
     <para>
- <function>mhash_get_block_size</function> takes one argument, the
- <parameter>hash</parameter> and returns the size in bytes or false, if
- the <parameter>hash</parameter> does not exist.</para>
-
+ <function>Mhash_get_block_size</function> gibt die Groesse des
+ übergebenen <parameter>Hashs</parameter>.
+ </para>
+ <para>
+ <function>Mhash_get_block_size</function> nimmt ein Argument, den
+ <parameter>Hash</parameter> und gibt die Grösse in Byte oder
+ FALSE, wenn <parameter>Hash</parameter> nicht existiert.
+ </para>
    </refsect1>
   </refentry>
-
+
   <refentry id="function.mhash-count">
    <refnamediv>
     <refname>mhash_count</refname>
- <refpurpose>Get the highest available hash id</refpurpose>
+ <refpurpose>Gibt den höchstmöglichen Hash zurück</refpurpose>
    </refnamediv>
    <refsect1>
     <title>Description</title>
@@ -156,38 +186,37 @@
       <paramdef>void </paramdef>
      </funcprototype>
     </funcsynopsis>
-
     <para>
- <function>mhash_count</function> returns the highest available hash
- id. Hashes are numbered from 0 to this hash id.</para>
-
+ <function>Mhash_count</function> gibt die höchsten verfügbaren
+ Hash Id zurück. Hashes sind von 0 bis zu der Hash Id nummeriert.
+ </para>
     <para>
      <example>
- <title>Traversing all hashes</title>
- <programlisting>
+ <title>Alle Hashes durchlaufen</title>
+ <programlisting role="php">
 &lt;?php
 
 $nr = mhash_count();
 
-for($i = 0; $i &lt;= $nr; $i++) {
- echo sprintf("The blocksize of %s is %d\n",
- mhash_get_hash_name($i),
- mhash_get_block_size($i));
+for ($i = 0; $i &lt;= $nr; $i++) {
+ echo sprintf ("Die Blockgrösse von %s ist %d\n",
+ mhash_get_hash_name ($i),
+ mhash_get_block_size ($i));
 }
 ?&gt;
       </programlisting>
- </example></para>
-
+ </example>
+ </para>
    </refsect1>
   </refentry>
-
+
   <refentry id="function.mhash">
    <refnamediv>
     <refname>mhash</refname>
- <refpurpose>Compute hash</refpurpose>
+ <refpurpose>Hash berechnen</refpurpose>
    </refnamediv>
    <refsect1>
- <title>Description</title>
+ <title>Beschreibung</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>string <function>mhash</function></funcdef>
@@ -195,16 +224,16 @@
       <paramdef>string <parameter>data</parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
-
     <para>
- <function>mhash</function> applies a hash function specified by
- <parameter>hash</parameter> to the <parameter>data</parameter> and
- returns the resulting hash (also called digest).</para>
-
+ <function>mhash</function> verwendet eine Hash Funktion abhängig
+ von <parameter>hash</parameter> auf <parameter>data</parameter>
+ und gibt den resultierenden Hash zurück (wird auch Digest
+ genannt).
+ </para>
    </refsect1>
   </refentry>
 
- </reference>
+ </reference>
 
 <!-- Keep this comment at the end of the file
 Local variables:
@@ -216,9 +245,9 @@
 sgml-indent-step:1
 sgml-indent-data:t
 sgml-parent-document:nil
-sgml-default-dtd-file:"../manual.ced"
+sgml-default-dtd-file:"../../manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
 End:
--->
+-->
\ No newline at end of file