svn: /phpdoc/de/trunk/ bookinfo.xml reference/hash/book.xml reference/hash/constants.xml reference/hash/functions/hash-algos.xml reference/hash/functions/hash-copy.xml reference/hash/functions/hash-file.xml reference/hash/functions/hash-final.xml reference/hash/functions/hash-hmac-file.xml reference/hash/functions/hash-hmac.xml reference/hash/functions/hash-init.xml reference/hash/functions/hash-update-file.xml reference/hash/functions/hash-update-stream.xml reference/hash/functions/hash-update.
[email protected] (Raphael Michel)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
raphaelm Fri, 21 May 2010 20:46:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299599
Log:
First German version of hash module docs uploaded; added myself to translator lists
Changed paths:
U phpdoc/de/trunk/bookinfo.xml
A phpdoc/de/trunk/reference/hash/
A phpdoc/de/trunk/reference/hash/book.xml
A phpdoc/de/trunk/reference/hash/constants.xml
A phpdoc/de/trunk/reference/hash/functions/
A phpdoc/de/trunk/reference/hash/functions/hash-algos.xml
A phpdoc/de/trunk/reference/hash/functions/hash-copy.xml
A phpdoc/de/trunk/reference/hash/functions/hash-file.xml
A phpdoc/de/trunk/reference/hash/functions/hash-final.xml
A phpdoc/de/trunk/reference/hash/functions/hash-hmac-file.xml
A phpdoc/de/trunk/reference/hash/functions/hash-hmac.xml
A phpdoc/de/trunk/reference/hash/functions/hash-init.xml
A phpdoc/de/trunk/reference/hash/functions/hash-update-file.xml
A phpdoc/de/trunk/reference/hash/functions/hash-update-stream.xml
A phpdoc/de/trunk/reference/hash/functions/hash-update.xml
A phpdoc/de/trunk/reference/hash/functions/hash.xml
A phpdoc/de/trunk/reference/hash/reference.xml
A phpdoc/de/trunk/reference/hash/setup.xml
U phpdoc/de/trunk/translation.xml
svn-diffs-299599.txt
(text/x-diff, 47.7 KB)
Modified: phpdoc/de/trunk/bookinfo.xml
===================================================================
--- phpdoc/de/trunk/bookinfo.xml 2010-05-21 20:06:29 UTC (rev 299598)
+++ phpdoc/de/trunk/bookinfo.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -36,6 +36,9 @@
<personname>Carola Kummert</personname>
</othercredit>
<othercredit class="translator">
+ <personname>Raphael Michel</personname>
+ </othercredit>
+ <othercredit class="translator">
<personname>Sebastian Nohn</personname>
</othercredit>
<othercredit class="translator">
Added: phpdoc/de/trunk/reference/hash/book.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/book.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/book.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 288721 $ -->
+<!-- Purpose: mathcrypto.crypto -->
+<!-- Membership: bundled, pecl -->
+<!-- State: experimental -->
+
+<book xml:id="book.hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>HASH-Erweiterung</title>
+ <titleabbrev>Hash</titleabbrev>
+
+ <!-- {{{ preface -->
+ <preface xml:id="intro.hash">
+ &reftitle.intro;
+ <para>
+ Funktionen zur nutzung kryptographischer Hash-Algorithmen. Die
+ Erweiterung erlaubt direktes oder schrittweises Verarbeiten von
+ Hashs beliebiger Länge unter Nutzung einer großen Auswahl von
+ Hashing-Algorightmen.
+ Message Digest (hash) engine. Allows direct or incremental processing
+ of arbitrary length messages using a variety of hashing algorithms.
+ </para>
+ </preface>
+ <!-- }}} -->
+
+ &reference.hash.setup;
+ &reference.hash.constants;
+ &reference.hash.reference;
+
+</book>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
Property changes on: phpdoc/de/trunk/reference/hash/book.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/constants.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/constants.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding="utf-8"?>
+<!-- $Revision: 297078 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<appendix xml:id="hash.constants" xmlns="http://docbook.org/ns/docbook">
+ &reftitle.constants;
+ &extension.constants;
+ <variablelist>
+ <varlistentry>
+ <term>
+ <constant>HASH_HMAC</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Optionales Symbol für <function>hash_init</function>. Es bewirkt,
+ dass der HMAC-digest-keying-Algorithmus auf den aktuellen Hashing-
+ Kontext angewendet werden soll.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+</appendix>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/constants.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-algos.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-algos.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-algos.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-algos" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_algos</refname>
+ <refpurpose>Gibt einer Liste der verfügbaren Hashing-Algorithmen zurück</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>array</type><methodname>hash_algos</methodname>
+ <void/>
+ </methodsynopsis>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt ein nicht-assoziatives Array mit allen unterstützten
+ Hashing-Algorithmen zurück.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_algos</function>-Beispiel</title>
+ <para>
+ Ab PHP 5.1.2 gibt <function>hash_algos</function> die folgende
+ Liste von Algorithmen zurück.
+ </para>
+ <programlisting role="php">
+<![CDATA[
+<?php
+print_r(hash_algos());
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+Array
+(
+ [0] => md4
+ [1] => md5
+ [2] => sha1
+ [3] => sha256
+ [4] => sha384
+ [5] => sha512
+ [6] => ripemd128
+ [7] => ripemd160
+ [8] => whirlpool
+ [9] => tiger128,3
+ [10] => tiger160,3
+ [11] => tiger192,3
+ [12] => tiger128,4
+ [13] => tiger160,4
+ [14] => tiger192,4
+ [15] => snefru
+ [16] => gost
+ [17] => adler32
+ [18] => crc32
+ [19] => crc32b
+ [20] => haval128,3
+ [21] => haval160,3
+ [22] => haval192,3
+ [23] => haval224,3
+ [24] => haval256,3
+ [25] => haval128,4
+ [26] => haval160,4
+ [27] => haval192,4
+ [28] => haval224,4
+ [29] => haval256,4
+ [30] => haval128,5
+ [31] => haval160,5
+ [32] => haval192,5
+ [33] => haval224,5
+ [34] => haval256,5
+)
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-algos.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-copy.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-copy.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-copy.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-copy" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_copy</refname>
+ <refpurpose>Dupliziert einen Hash-Kontext</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>resource</type><methodname>hash_copy</methodname>
+ <methodparam><type>resource</type><parameter>context</parameter></methodparam>
+ </methodsynopsis>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ Von <function>hash_init</function> zurückgegebener Hash-Kontext
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt eine Kopie des Hash-Kontexts zurück.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_copy</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$context = hash_init("md5");
+hash_update($context, "data");
+
+/* Dupliziere Kontext um ihn weiter nutzen zu können */
+$copy_context = hash_copy($context);
+
+echo hash_final($context), "\n";
+
+hash_update($copy_context, "data");
+echo hash_final($copy_context), "\n";
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+8d777f385d3dfec8815d20f7496026dc
+511ae0b1c13f95e5f08f1a0dd3da3d93
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-copy.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-file.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-file.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-file.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
+<refentry xml:id="function.hash-file" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_file</refname>
+ <refpurpose>Berechnet den Hash des Inhalts einer Datei</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>hash_file</methodname>
+ <methodparam><type>string</type><parameter>algo</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>false</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>algo</parameter></term>
+ <listitem>
+ <para>
+ Name des gewählten Hash-Algorithmus (z.B. "md5", "sha256", "haval160,4", usw...)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>filename</parameter></term>
+ <listitem>
+ <para>
+ URL der Datei, die gehasht werden soll, fopen-Wrapper werden unterstützt.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>raw_output</parameter></term>
+ <listitem>
+ <para>
+ Ist dieser Parameter &true;, werden direkt Binärdaten
+ zurückgegeben, andernfalls werden klein geschriebene
+ Hexadezimalziffern zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt den berechneten Hash als Hexadezimalzahl zurück, außer
+ <parameter>raw_output</parameter> ist wahr, in diesem Fall wird die
+ binäre Darstellung des Hashes zurückgegeben.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_file</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+/* Erstelle die Datei, deren Inhalt gehasht werden soll */
+file_put_contents('example.txt', 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.');
+
+echo hash_file('md5', 'example.txt');
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+ba4b9da310763a91f8edc7c185a1e4bf
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash</function></member>
+ <member><function>hash_hmac_file</function></member>
+ <member><function>hash_update_file</function></member>
+ <member><function>md5_file</function></member>
+ <member><function>sha1_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-file.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-final.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-final.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-final.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-final" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_final</refname>
+ <refpurpose>Schließt einen schrittweisen Hashing-Vorgang ab und gibt sein Ergebnis zurück.</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>hash_final</methodname>
+ <methodparam><type>resource</type><parameter>context</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>false</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ Hashing-Kontext, zurückgegeben von <function>hash_init</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>raw_output</parameter></term>
+ <listitem>
+ <para>
+ Ist dieser Parameter &true;, werden direkt Binärdaten
+ zurückgegeben, andernfalls werden klein geschriebene
+ Hexadezimalziffern zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt den berechneten Hash als Hexadezimalzahl zurück, außer
+ <parameter>raw_output</parameter> ist wahr, in diesem Fall wird die
+ binäre Darstellung des Hashes zurückgegeben.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_final</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$ctx = hash_init('sha1');
+hash_update($ctx, 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.');
+echo hash_final($ctx);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+48e3273628b29b2a640adee09a488f6f885f5116
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash_init</function></member>
+ <member><function>hash_update</function></member>
+ <member><function>hash_update_stream</function></member>
+ <member><function>hash_update_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-final.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-hmac-file.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-hmac-file.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-hmac-file.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-hmac-file" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_hmac_file</refname>
+ <refpurpose>Berechnet einen Hash einer Datei mit Schlüssel unter Verwendung von HMAC</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>hash_hmac_file</methodname>
+ <methodparam><type>string</type><parameter>algo</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam><type>string</type><parameter>key</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>false</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>algo</parameter></term>
+ <listitem>
+ <para>
+ Name des gewählten Hash-Algorithmus (z.B. "md5", "sha256", "haval160,4", usw...). Für eine Liste der unterstützten Algorithmen, siehe <function>hash_algos</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>filename</parameter></term>
+ <listitem>
+ <para>
+ URL der Datei, die gehasht werden soll, fopen-Wrapper werden unterstützt.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>key</parameter></term>
+ <listitem>
+ <para>
+ Geheimer Schlüssel für die Berechnung der HMAC-Variante des Hashs.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>raw_output</parameter></term>
+ <listitem>
+ <para>
+ Ist dieser Parameter &true;, werden direkt Binärdaten
+ zurückgegeben, andernfalls werden klein geschriebene
+ Hexadezimalziffern zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt den berechneten Hash als Hexadezimalzahl zurück, außer
+ <parameter>raw_output</parameter> ist wahr, in diesem Fall wird die
+ binäre Darstellung des Hashes zurückgegeben.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_hmac_file</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+/* Erstelle die Datei, deren Inhalt gehasht werden soll */
+file_put_contents('example.txt', 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.');
+
+echo hash_hmac_file('md5', 'example.txt', 'geheimnis');
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+e949d0086c79cc6d67cf757bab4e5be8
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash_algos</function></member>
+ <member><function>hash_hmac</function></member>
+ <member><function>hash_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-hmac-file.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-hmac.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-hmac.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-hmac.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-hmac" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_hmac</refname>
+ <refpurpose>Berechnet einen Hash mit Schlüssel unter Verwendung von HMAC</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>hash_hmac</methodname>
+ <methodparam><type>string</type><parameter>algo</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam><type>string</type><parameter>key</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>false</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>algo</parameter></term>
+ <listitem>
+ <para>
+ Name des gewählten Hash-Algorithmus (z.B. "md5", "sha256", "haval160,4", usw...). Für eine Liste der unterstützten Algorithmen, siehe <function>hash_algos</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>data</parameter></term>
+ <listitem>
+ <para>
+ Nachricht, die gehasht werden soll.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>key</parameter></term>
+ <listitem>
+ <para>
+ Geheimer Schlüssel für die Berechnung der HMAC-Variante des Hashs.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>raw_output</parameter></term>
+ <listitem>
+ <para>
+ Ist dieser Parameter &true;, werden direkt Binärdaten
+ zurückgegeben, andernfalls werden klein geschriebene
+ Hexadezimalziffern zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt den berechneten Hash als Hexadezimalzahl zurück, außer
+ <parameter>raw_output</parameter> ist wahr, in diesem Fall wird die
+ binäre Darstellung des Hashes zurückgegeben.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_hmac</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo hash_hmac('ripemd160', 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.', 'geheimnis');
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+2c74049f7b3ce927cefaaa4162c98abe234f971f
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash</function></member>
+ <member><function>hash_algos</function></member>
+ <member><function>hash_init</function></member>
+ <member><function>hash_hmac_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-hmac.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-init.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-init.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-init.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 298918 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
+<refentry xml:id="function.hash-init" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_init</refname>
+ <refpurpose>Initialisiert einen schrittweisen Hashing-Kontext</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>resource</type><methodname>hash_init</methodname>
+ <methodparam><type>string</type><parameter>algo</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>key</parameter><initializer>&null;</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>algo</parameter></term>
+ <listitem>
+ <para>
+ Name des gewählten Hash-Algorithmus (z.B. "md5", "sha256", "haval160,4", usw...)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>options</parameter></term>
+ <listitem>
+ <para>
+ Optionale Einstellungen für die Hash-Generierung, aktuell wird nur
+ eine Option unterstützt: <constant>HASH_HMAC</constant>. Wenn diese
+ Gesetzt ist, ist der Parameter <parameter>key</parameter>
+ <emphasis>Pflicht</emphasis>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>key</parameter></term>
+ <listitem>
+ <para>
+ Ein geheimer Schlüssel zur Verwendung mit dem HMAC-Verfahren.
+ Wenn <constant>HASH_HMAC</constant> bei <parameter>options</parameter>
+ gesetzt ist, muss <parameter>key</parameter> gesetzt werden.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt eine Hashing-Kontextressource zur Nutzung mit <function>hash_update</function>,
+ <function>hash_update_stream</function>, <function>hash_update_file</function>,
+ und <function>hash_final</function> zurück.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Incremental hashing example</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$ctx = hash_init('md5');
+hash_update($ctx, 'The quick brown fox ');
+hash_update($ctx, 'jumped over the lazy dog.');
+echo hash_final($ctx);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+ba4b9da310763a91f8edc7c185a1e4bf
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash</function></member>
+ <member><function>hash_file</function></member>
+ <member><function>hash_hmac</function></member>
+ <member><function>hash_hmac_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-init.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-update-file.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-update-file.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-update-file.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 298918 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-update-file" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_update_file</refname>
+ <refpurpose>Fügt Daten aus einer Datei an einen aktiven Hash-Kontext an</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>bool</type><methodname>hash_update_file</methodname>
+ <methodparam><type>resource</type><parameter>context</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam choice="opt"><type>resource</type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ Hashing-Kontext, zurückgegeben von <function>hash_init</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>filename</parameter></term>
+ <listitem>
+ <para>
+ URL der Datei, die zum Kontext hinzugefügt werden soll; fopen-Wrapper werden unterstützt.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ Stream-Kontext, wie von <function>stream_context_create</function> zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash_init</function></member>
+ <member><function>hash_update</function></member>
+ <member><function>hash_update_stream</function></member>
+ <member><function>hash_final</function></member>
+ <member><function>hash</function></member>
+ <member><function>hash_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-update-file.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-update-stream.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-update-stream.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-update-stream.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-update-stream" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_update_stream</refname>
+ <refpurpose>Fügt Daten aus einem Stream an einen aktiven Hash-Kontext an</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>int</type><methodname>hash_update_stream</methodname>
+ <methodparam><type>resource</type><parameter>context</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>-1</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ Hashing-Kontext, zurückgegeben von <function>hash_init</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>handle</parameter></term>
+ <listitem>
+ <para>
+ Offene Datei-Ressource, wie von einer Stream-erstellenden Funktion zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>length</parameter></term>
+ <listitem>
+ <para>
+ Maximale Anzahl an Zeichen, die von <parameter>handle</parameter> in
+ den Hashing-Kontext kopiert werden
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Anzahl an bytes, die dem Hashing-Kontext von <parameter>handle</parameter> hinzugefügt wurden.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash_update_stream</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$fp = tmpfile();
+fwrite($fp, 'The quick brown fox jumped over the lazy dog.');
+rewind($fp);
+
+$ctx = hash_init('md5');
+hash_update_stream($ctx, $fp);
+echo hash_final($ctx);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+ba4b9da310763a91f8edc7c185a1e4bf
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash_init</function></member>
+ <member><function>hash_update</function></member>
+ <member><function>hash_final</function></member>
+ <member><function>hash</function></member>
+ <member><function>hash_file</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-update-stream.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash-update.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash-update.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash-update.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash-update" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash_update</refname>
+ <refpurpose>Fügt Daten an einen aktiven Hash-Kontext an</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>bool</type><methodname>hash_update</methodname>
+ <methodparam><type>resource</type><parameter>context</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ Hashing-Kontext, zurückgegeben von <function>hash_init</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>data</parameter></term>
+ <listitem>
+ <para>
+ Nachricht, die in den Hash-Kontext eingefügt wird.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns &true;.
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash_init</function></member>
+ <member><function>hash_update_file</function></member>
+ <member><function>hash_update_stream</function></member>
+ <member><function>hash_final</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash-update.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/functions/hash.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/functions/hash.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/functions/hash.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297032 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+<refentry xml:id="function.hash" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>hash</refname>
+ <refpurpose>Berechnet den Hash einer Nachricht</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>hash</methodname>
+ <methodparam><type>string</type><parameter>algo</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>false</initializer></methodparam>
+ </methodsynopsis>
+
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>algo</parameter></term>
+ <listitem>
+ <para>
+ Name des gewählten Hash-Algorithmus (z.B. "md5", "sha256", "haval160,4", usw...)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>data</parameter></term>
+ <listitem>
+ <para>
+ Nachricht, die gehasht werden soll.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>raw_output</parameter></term>
+ <listitem>
+ <para>
+ Ist dieser Parameter &true;, werden direkt Binärdaten
+ zurückgegeben, andernfalls werden klein geschriebene
+ Hexadezimalziffern zurückgegeben.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt den berechneten Hash als Hexadezimalzahl zurück, außer
+ <parameter>raw_output</parameter> ist wahr, in diesem Fall wird die
+ binäre Darstellung des Hashes zurückgegeben.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>hash</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo hash('ripemd160', 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.');
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+1e3d00e6a15336c66e46881d1efe8afc7813f66e
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>hash_file</function></member>
+ <member><function>hash_hmac</function></member>
+ <member><function>hash_init</function></member>
+ <member><function>md5</function></member>
+ <member><function>sha1</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/functions/hash.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/reference.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/reference.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/reference.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297028 $ -->
+<!-- EN-Revision: 297028 Maintainer: raphaelm Status: ready -->
+
+<reference xml:id="ref.hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Hash-&Functions;</title>
+
+ &reference.hash.entities.functions;
+
+</reference>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/de/trunk/reference/hash/reference.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: phpdoc/de/trunk/reference/hash/setup.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/setup.xml (rev 0)
+++ phpdoc/de/trunk/reference/hash/setup.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 297807 $ -->
+<!-- EN-Revision: 288721 Maintainer: raphaelm Status: ready -->
+<!-- Purpose: mathcrypto.crypto -->
+<!-- Membership: bundled, external -->
+
+<chapter xml:id="hash.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.setup;
+
+ <!-- {{{ Requirements -->
+ <section xml:id="hash.requirements">
+ &reftitle.required;
+ <simpara>
+ Die Hash-Erweiterung benötigt keine zusätzlichen Bibliotheken und ist
+ seit PHP 5.1.2 in PHP standardmäßig aktiviert. Sie kann mit dem
+ --disable-hash Umschalter für configure explizit deaktiviert werden.
+ Frühere PHP-Versionen können die Hash-Erweiterung mit der
+ Installation des
+ <link xlink:href="&url.pecl.package;hash">PECL-Moduls</link>
+ nutzen.
+ </simpara>
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Installation -->
+ <section xml:id="hash.installation">
+ &reftitle.install;
+ &no.install;
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Configuration -->
+ <section xml:id="hash.configuration">
+ &reftitle.runtime;
+ &no.config;
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Resources -->
+ <section xml:id="hash.resources">
+ &reftitle.resources;
+ <para>
+ Diese Erweiterung stellt eine Kontextressource für Hashs bereit, die
+ von <function>hash_init</function> zurückgegeben wird.
+ </para>
+ </section>
+ <!-- }}} -->
+
+</chapter>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
Property changes on: phpdoc/de/trunk/reference/hash/setup.xml
___________________________________________________________________
Added: svn:executable
+ *
Modified: phpdoc/de/trunk/translation.xml
===================================================================
--- phpdoc/de/trunk/translation.xml 2010-05-21 20:06:29 UTC (rev 299598)
+++ phpdoc/de/trunk/translation.xml 2010-05-21 20:46:58 UTC (rev 299599)
@@ -20,6 +20,7 @@
<person name="Daniel Jänecke" email="[email protected]" nick="jaenecke" cvs="yes" />
<person name="Hakan Kücükyilmaz" email="[email protected]" nick="hakan" cvs="yes" />
<person name="Carola Kummert" email="[email protected]" nick="sammywg" cvs="yes" />
+ <person name="Raphael Michel" email="[email protected]" nick="raphaelm" cvs="yes" />
<person name="Sebastian Nohn" email="[email protected]" nick="nohn" cvs="yes" />
<person name="Thorsten Rinne" email="[email protected]" nick="thorstenr" cvs="yes" />
<person name="Martin Samesch" email="[email protected]" nick="samesch" cvs="yes" />