cvs: phpdoc-fr /reference/mhash configure.xml constants.xml reference.xml /reference/mhash/functions mhash-count.xml mhash-get-block-size.xml
mhash-get-hash-name.xml mhash-keygen-s2k.xml mhash.xml

From: Date: Mon, 03 May 2004 21:48:21 +0000
Subject: cvs: phpdoc-fr /reference/mhash configure.xml constants.xml reference.xml /reference/mhash/functions mhash-count.xml mhash-get-block-size.xml
mhash-get-hash-name.xml mhash-keygen-s2k.xml mhash.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-2408@lists.php.net to get a copy of this message
yannick Mon May 3 17:48:21 2004 EDT Modified files: /phpdoc-fr/reference/mhash/functions mhash-count.xml mhash-get-block-size.xml mhash-get-hash-name.xml mhash-keygen-s2k.xml mhash.xml /phpdoc-fr/reference/mhash configure.xml constants.xml reference.xml Log: synch with EN Revision

http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/functions/mhash-count.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/mhash/functions/mhash-count.xml diff -u phpdoc-fr/reference/mhash/functions/mhash-count.xml:1.5 phpdoc-fr/reference/mhash/functions/mhash-count.xml:1.6 --- phpdoc-fr/reference/mhash/functions/mhash-count.xml:1.5 Tue Feb 24 13:11:29 2004 +++ phpdoc-fr/reference/mhash/functions/mhash-count.xml Mon May 3 17:48:20 2004 @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/mhash.xml, last change in rev 1.2 --> -<!-- last change to 'mhash-count' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.mhash-count"> <refnamediv> <refname>mhash_count</refname> @@ -25,12 +22,14 @@ <programlisting role="php"> <![CDATA[ <?php - $nr = mhash_count(); - for($i = 0; $i <= $nr; $i++) { + +$nr = mhash_count(); + +for ($i = 0; $i <= $nr; $i++) { echo sprintf ("La taille de bloc de %s est %d\n", - mhash_get_hash_name($i), - mhash_get_block_size($i)); - } + mhash_get_hash_name($i), + mhash_get_block_size($i)); +} ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/functions/mhash-get-block-size.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/mhash/functions/mhash-get-block-size.xml diff -u phpdoc-fr/reference/mhash/functions/mhash-get-block-size.xml:1.5 phpdoc-fr/reference/mhash/functions/mhash-get-block-size.xml:1.6 --- phpdoc-fr/reference/mhash/functions/mhash-get-block-size.xml:1.5 Tue Feb 24 13:11:29 2004 +++ phpdoc-fr/reference/mhash/functions/mhash-get-block-size.xml Mon May 3 17:48:20 2004 @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/mhash.xml, last change in rev 1.2 --> -<!-- last change to 'mhash-get-block-size' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.mhash-get-block-size"> <refnamediv> <refname>mhash_get_block_size</refname> http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/functions/mhash-get-hash-name.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/mhash/functions/mhash-get-hash-name.xml diff -u phpdoc-fr/reference/mhash/functions/mhash-get-hash-name.xml:1.5 phpdoc-fr/reference/mhash/functions/mhash-get-hash-name.xml:1.6 --- phpdoc-fr/reference/mhash/functions/mhash-get-hash-name.xml:1.5 Tue Feb 24 13:11:29 2004 +++ phpdoc-fr/reference/mhash/functions/mhash-get-hash-name.xml Mon May 3 17:48:20 2004 @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/mhash.xml, last change in rev 1.2 --> -<!-- last change to 'mhash-get-hash-name' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.mhash-get-hash-name"> <refnamediv> <refname>mhash_get_hash_name</refname> http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/functions/mhash-keygen-s2k.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/mhash/functions/mhash-keygen-s2k.xml diff -u phpdoc-fr/reference/mhash/functions/mhash-keygen-s2k.xml:1.5 phpdoc-fr/reference/mhash/functions/mhash-keygen-s2k.xml:1.6 --- phpdoc-fr/reference/mhash/functions/mhash-keygen-s2k.xml:1.5 Tue Feb 24 13:11:29 2004 +++ phpdoc-fr/reference/mhash/functions/mhash-keygen-s2k.xml Mon May 3 17:48:20 2004 @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/mhash.xml, last change in rev 1.2 --> -<!-- last change to 'mhash-keygen-s2k' in en/ tree in rev 1.7 --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.mhash-keygen-s2k"> <refnamediv> <refname>mhash_keygen_s2k</refname> @@ -32,7 +29,10 @@ à la fin de la clé générée. <parameter>salt</parameter> doit avoir la longueur de 8 octets, et sera complété par des 0 si vous ne fournissez - par suffisamment de données. N'oubliez pas que les mots de passe + par suffisamment de données. + </para> + <para> + N'oubliez pas que les mots de passe fournis par les utilisateurs ne sont pas conseillé pour faire des clés cryptographique, étant donné que les utilisateurs normaux retiennent des mots de passe qu'ils peuvent http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/functions/mhash.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/mhash/functions/mhash.xml diff -u phpdoc-fr/reference/mhash/functions/mhash.xml:1.5 phpdoc-fr/reference/mhash/functions/mhash.xml:1.6 --- phpdoc-fr/reference/mhash/functions/mhash.xml:1.5 Tue Feb 24 13:11:29 2004 +++ phpdoc-fr/reference/mhash/functions/mhash.xml Mon May 3 17:48:20 2004 @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/mhash.xml, last change in rev 1.2 --> -<!-- last change to 'mhash' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.mhash"> <refnamediv> <refname>mhash</refname> http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/configure.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/mhash/configure.xml diff -u phpdoc-fr/reference/mhash/configure.xml:1.2 phpdoc-fr/reference/mhash/configure.xml:1.3 --- phpdoc-fr/reference/mhash/configure.xml:1.2 Wed Feb 25 07:38:01 2004 +++ phpdoc-fr/reference/mhash/configure.xml Mon May 3 17:48:21 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <section id="mhash.installation"> &reftitle.install; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/constants.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/mhash/constants.xml diff -u phpdoc-fr/reference/mhash/constants.xml:1.2 phpdoc-fr/reference/mhash/constants.xml:1.3 --- phpdoc-fr/reference/mhash/constants.xml:1.2 Wed Feb 25 07:38:01 2004 +++ phpdoc-fr/reference/mhash/constants.xml Mon May 3 17:48:21 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <section id="mhash.constants"> &reftitle.constants; &extension.constants; @@ -8,7 +8,7 @@ <para> Voici une liste des modes qui sont supportés par mhash. Toutes les constantes ne sont pas ici, et vous pouvez supposer que cette - doc retarde. + documentation n'est plus à jour. <itemizedlist> <listitem> <simpara> @@ -67,7 +67,6 @@ </listitem> </itemizedlist> </para> - </section> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-fr/reference/mhash/reference.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/mhash/reference.xml diff -u phpdoc-fr/reference/mhash/reference.xml:1.5 phpdoc-fr/reference/mhash/reference.xml:1.6 --- phpdoc-fr/reference/mhash/reference.xml:1.5 Wed Feb 25 07:38:02 2004 +++ phpdoc-fr/reference/mhash/reference.xml Mon May 3 17:48:21 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <reference id="ref.mhash"> <title>Hash</title> <titleabbrev>mhash</titleabbrev> @@ -9,12 +9,13 @@ &reftitle.intro; <para> Ces fonctions ont été prévues pour fonctionner avec - <ulink url="&url.mhash;">mhash</ulink>. + <ulink url="&url.mhash;">mhash</ulink>. Mhash peut être utilisé pour créer une + somme de contrôle, un hachage et bien plus. </para> <para> Cet ensemble de fonctions représente une interface avec la librairie mhash. - mhash accepte un grand nombre d'algorithmes différents, tels que MD5, - SHA1, GOST, bien d'autres. Pour une liste complète des hashes supportés, + Mhash accepte un grand nombre d'algorithmes différents, tels que MD5, + SHA1, GOST et bien d'autres. Pour une liste complète des hashes supportés, reportez vous à la documentation de mhash. La règle générale est que vous pouvez accéder à un algorithme depuis PHP avec la constante MHASH_NOMDUHASH. Par exemple, pour accéder à l'algorithme TIGER, @@ -26,7 +27,7 @@ &reftitle.required; <para> Pour l'utiliser, téléchargez les distributions de mhash depuis - le site <ulink url="&url.mhash;">web ici</ulink> et suivez les instructions + ce <ulink url="&url.mhash;">site internet</ulink> et suivez les instructions d'installation incluses. </para> </section> @@ -55,9 +56,9 @@ <?php $input = "what do ya want for nothing?"; $hash = mhash (MHASH_MD5, $input); -print "Le hash vaut ".bin2hex ($hash)."<br />\n"; +echo "Le hash vaut ".bin2hex ($hash)."<br />\n"; $hash = mhash (MHASH_MD5, $input, "Jefe"); -print "Le hmac vaut ".bin2hex ($hash)."<br />\n"; +echo "Le hmac vaut ".bin2hex ($hash)."<br />\n"; ?> ]]> </programlisting>
« previous php.doc.fr (#2408) next »