svn: /phpdoc/ru/trunk/reference/hash/functions/ hash-algos.xml hash-hmac.xml hash-init.xml hash-update-file.xml
| From: | Alexander Moskaliov | Date: | Sun, 04 Jan 2015 08:49:49 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/hash/functions/ hash-algos.xml hash-hmac.xml hash-init.xml hash-update-file.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-4846@lists.php.net to get a copy of this message | ||
irker Sun, 04 Jan 2015 08:49:49 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=335614
Log:
Update translation
Changed paths:
U phpdoc/ru/trunk/reference/hash/functions/hash-algos.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-init.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-algos.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-algos.xml 2015-01-04 08:42:39 UTC (rev 335613)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-algos.xml 2015-01-04 08:49:49 UTC (rev 335614)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 322701 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 334632 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
-<refentry xml:id="function.hash-algos" xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="function.hash-algos" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>hash_algos</refname>
<refpurpose>Возвращает список зарегистрированных
алгоритмов хеширования</refpurpose>
@@ -35,6 +35,14 @@
</thead>
<tbody>
<row>
+ <entry>5.6.0</entry>
+ <entry>
+ Добавлена поддержка для gost-crypto. Реализуется
функция GOST хэш,
+ использующая CryptoPro S-box таблицы, согласно
+ <link xlink:href="&url.rfc;4357">RFC 4357, секция
11.2</link>.
+ </entry>
+ </row>
+ <row>
<entry>5.4.0</entry>
<entry>Добавлена поддержка для joaat, fnv132 и fnv164.
Убрана поддержка для Salsa10 и Salsa20</entry>
</row>
@@ -54,7 +62,7 @@
<example>
<title>Пример использования
<function>hash_algos</function></title>
<para>
- Начиная с PHP 5.3.0, <function>hash_algos</function> возвращает
+ Начиная с PHP 5.6.0, <function>hash_algos</function> возвращает
следующий список названий алгоритмов хеширования.
</para>
<programlisting role="php">
@@ -91,26 +99,30 @@
[19] => snefru
[20] => snefru256
[21] => gost
- [22] => adler32
- [23] => crc32
- [24] => crc32b
- [25] => salsa10
- [26] => salsa20
- [27] => haval128,3
- [28] => haval160,3
- [29] => haval192,3
- [30] => haval224,3
- [31] => haval256,3
- [32] => haval128,4
- [33] => haval160,4
- [34] => haval192,4
- [35] => haval224,4
- [36] => haval256,4
- [37] => haval128,5
- [38] => haval160,5
- [39] => haval192,5
- [40] => haval224,5
- [41] => haval256,5
+ [22] => gost-crypto
+ [23] => adler32
+ [24] => crc32
+ [25] => crc32b
+ [26] => fnv132
+ [27] => fnv1a32
+ [28] => fnv164
+ [29] => fnv1a64
+ [30] => joaat
+ [31] => haval128,3
+ [32] => haval160,3
+ [33] => haval192,3
+ [34] => haval224,3
+ [35] => haval256,3
+ [36] => haval128,4
+ [37] => haval160,4
+ [38] => haval192,4
+ [39] => haval224,4
+ [40] => haval256,4
+ [41] => haval128,5
+ [42] => haval160,5
+ [43] => haval192,5
+ [44] => haval224,5
+ [45] => haval256,5
)
]]>
</screen>
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml 2015-01-04 08:42:39 UTC (rev 335613)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml 2015-01-04 08:49:49 UTC (rev 335614)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 332977 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-hmac" xmlns="http://docbook.org/ns/docbook">
@@ -66,6 +66,7 @@
Возвращает строку содержащую вычисленный хеш-код в
шестнадцатеричной кодировке
в нижнем регистре. Если <parameter>raw_output</parameter>
задан как &true;,
то возвращается хеш-код в виде бинарных данных.
+ Возвращает &false;, если <parameter>algo</parameter>
неизвестен.
</para>
</refsect1>
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-init.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-init.xml 2015-01-04 08:42:39 UTC (rev 335613)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-init.xml 2015-01-04 08:49:49 UTC (rev 335614)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 298918 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 331014 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
@@ -26,7 +26,8 @@
<term><parameter>algo</parameter></term>
<listitem>
<para>
- Имя выбранного алгоритма хеширования (например,
"md5", "sha256", "haval160,4" и т.д.)
+ Имя выбранного алгоритма хеширования (например,
"md5", "sha256", "haval160,4" и т.д.).
+ Весь список поддерживаемых алгоритмов можно
посмотреть здесь <function>hash_algos</function>.
</para>
</listitem>
</varlistentry>
@@ -94,6 +95,7 @@
<para>
<simplelist>
<member><function>hash</function></member>
+ <member><function>hash_algos</function></member>
<member><function>hash_file</function></member>
<member><function>hash_hmac</function></member>
<member><function>hash_hmac_file</function></member>
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml 2015-01-04 08:42:39 UTC (rev
335613)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml 2015-01-04 08:49:49 UTC (rev
335614)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 298918 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 331807 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-update-file" xmlns="http://docbook.org/ns/docbook">
@@ -11,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>hash_update_file</methodname>
-
<methodparam><type>resource</type><parameter>context</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>hcontext</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam
choice="opt"><type>resource</type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>scontext</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -22,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>context</parameter></term>
+ <term><parameter>hcontext</parameter></term>
<listitem>
<para>
Контекст хеширования, возвращенный
<function>hash_init</function>.
@@ -38,7 +38,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>context</parameter></term>
+ <term><parameter>scontext</parameter></term>
<listitem>
<para>
Контекст потока, возвращенный
<function>stream_context_create</function>.