1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-24 07:42:22 +01:00
Files
archived-doc-ru/reference/mhash/book.xml
Sergey Panteleev daef8df962 Обнуление тега Reviewed (#364)
[skip-lint]
[skip-spellcheck]
2021-11-16 13:03:53 +03:00

69 lines
3.0 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 68c2c871505aadf983f16113c5b077b335ce8d76 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: no -->
<book xml:id="book.mhash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundled" ?>
<title>Mhash</title>
<!-- {{{ preface -->
<preface xml:id="intro.mhash">
&reftitle.intro;
<para>
Эти функции предназначены для работы с <link xlink:href="&url.mhash;">mhash</link>.
Mhash может использоваться для подсчёта контрольных сумм, хеш-сумм, кодов
идентификации сообщений и так далее.
</para>
<para>
Это интерфейс для библиотеки mhash. Mhash поддерживает большое количество
алгоритмов шифрования, таких как MD5, SHA1, GOST и многих других. Для полного
списка поддерживаемых алгоритмов шифрования перейдите на страницу с
<link linkend="mhash.constants">константами</link>. Для получения доступа к
определённому алгоритму из PHP нужно использовать <constant>MHASH_hashname</constant>.
Например, чтобы получить доступ к TIGER необходимо использовать константу <constant>MHASH_TIGER</constant>.
</para>
<note>
<para>
Данный модуль устарел, в качестве замены используйте <link linkend="book.hash">Hash</link>.
</para>
</note>
<note>
<para>
Начиная с PHP 7.0.0, модуль Mhash полностью интегрирован в модуль
<link linkend="book.hash">Hash</link>. Таким образом, теперь нельзя определить
доступность поддержки Mhash с помощью функции <function>extension_loaded</function>;
вместо неё используйте <function>function_exists</function>.
Кроме того, Mhash больше не будет выводиться с помощью
<function>get_loaded_extensions</function> и подобных функций.
</para>
</note>
</preface>
<!-- }}} -->
&reference.mhash.setup;
&reference.mhash.constants;
&reference.mhash.examples;
&reference.mhash.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
-->