diff --git a/reference/mhash/book.xml b/reference/mhash/book.xml
new file mode 100644
index 0000000000..bf2a2fa409
--- /dev/null
+++ b/reference/mhash/book.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+ Mhash
+
+
+
+ &reftitle.intro;
+
+ These functions are intended to work with mhash. Mhash can be used to create checksums,
+ message digests, message authentication codes, and more.
+
+
+ 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
+ documentation of mhash. The general rule is that you can access
+ the hash algorithm from PHP with MHASH_HASHNAME. For example, to
+ access TIGER you use the PHP constant MHASH_TIGER.
+
+
+
+ This extension is obsoleted by Hash.
+
+
+
+
+
+ &reference.mhash.setup;
+ &reference.mhash.constants;
+ &reference.mhash.examples;
+ &reference.mhash.reference;
+
+
+
+
+
diff --git a/reference/mhash/constants.xml b/reference/mhash/constants.xml
index ab5c5bcaa2..8d2e88e996 100644
--- a/reference/mhash/constants.xml
+++ b/reference/mhash/constants.xml
@@ -1,6 +1,6 @@
-
-
+
+
&reftitle.constants;
&extension.constants;
@@ -90,7 +90,7 @@
-
+
+
+
+ &reftitle.examples;
+
+
+ Compute the MD5 digest and hmac and print it out as hex
+
+\n";
+$hash = mhash(MHASH_MD5, $input, "Jefe");
+echo "The hmac is " . bin2hex($hash) . " \n";
+?>
+]]>
+
+
+ This will produce:
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/mhash/reference.xml b/reference/mhash/reference.xml
index 756fad6620..59085cfb40 100644
--- a/reference/mhash/reference.xml
+++ b/reference/mhash/reference.xml
@@ -1,93 +1,14 @@
-
-
-
+
-
- Mhash Functions
- mhash
-
-
-
- &reftitle.intro;
-
- These functions are intended to work with mhash. Mhash can be used to create checksums,
- message digests, message authentication codes, and more.
-
-
- 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
- documentation of mhash. The general rule is that you can access
- the hash algorithm from PHP with MHASH_HASHNAME. For example, to
- access TIGER you use the PHP constant MHASH_TIGER.
-
-
-
- &pecl.moved-ver;5.3.0.
- This extension is obsoleted by Hash.
-
-
-
+
+ Mhash &Functions;
+ mhash
-
- &reftitle.required;
-
- To use it, download the mhash distribution from its web site and follow the included
- installation instructions.
-
-
+ &reference.mhash.entities.functions;
- &reference.mhash.configure;
+
-
- &reftitle.runtime;
- &no.config;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
- &reference.mhash.constants;
-
-
- &reftitle.examples;
-
-
- Compute the MD5 digest and hmac and print it out as hex
-
-\n";
-$hash = mhash(MHASH_MD5, $input, "Jefe");
-echo "The hmac is " . bin2hex($hash) . " \n";
-?>
-]]>
-
-
- This will produce:
-
-
-
-
-
-
-
-
-
-
-&reference.mhash.entities.functions;
-
-
+
+
+ &reftitle.setup;
+
+
+
+ &reftitle.required;
+
+ To use it, download the mhash distribution from its web site and follow the included
+ installation instructions.
+
+
+
+
+
+ &reference.mhash.configure;
+
+
+
+
+ &reftitle.runtime;
+ &no.config;
+
+
+
+
+
+ &reftitle.resources;
+ &no.resource;
+
+
+
+
+
+
+