php-doc-en/reference/mhash/book.xml
2021-06-13 23:23:33 +01:00

68 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<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>
These functions are intended to work with <link
xlink:href="&url.mhash;">mhash</link>. Mhash can be used to create checksums,
message digests, message authentication codes, and more.
</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. For a complete list of supported hashes, refer to the
<link linkend="mhash.constants">constants page</link>. The general rule is that you can access
the hash algorithm from PHP with <constant>MHASH_hashname</constant>. For example, to
access TIGER you use the PHP constant <constant>MHASH_TIGER</constant>.
</para>
<note>
<para>
This extension is obsoleted by <link linkend="book.hash">Hash</link>.
</para>
</note>
<note>
<para>
As of PHP 7.0.0 the Mhash extension has been fully integrated into the <link
linkend="book.hash">Hash</link> extension. Therefore, it is no longer
possible to detect Mhash support with <function>extension_loaded</function>;
use <function>function_exists</function> instead. Furthermore, Mhash is no
longer reported by <function>get_loaded_extensions</function> and related
features.
</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
-->