[doc-en] master: Add algorithm categorization note to hash_algos() (#5273)
| From: | Louis-Arnaud via GitHub | Date: | Wed, 02 Sep 2026 13:41:39 +0000 |
| Subject: | [doc-en] master: Add algorithm categorization note to hash_algos() (#5273) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23700@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-09-02T15:41:36+02:00
Commit: https://github.com/php/doc-en/commit/9d8fd9317e3167cee8da1c22031ece5f760e0fd9
Raw diff: https://github.com/php/doc-en/commit/9d8fd9317e3167cee8da1c22031ece5f760e0fd9.diff
Add algorithm categorization note to hash_algos() (#5273)
Fixes #3616
Changed paths:
M reference/hash/functions/hash-algos.xml
Diff:
diff --git a/reference/hash/functions/hash-algos.xml b/reference/hash/functions/hash-algos.xml
index 2e82d13deb11..014ebdd03b58 100644
--- a/reference/hash/functions/hash-algos.xml
+++ b/reference/hash/functions/hash-algos.xml
@@ -24,6 +24,14 @@
Returns a numerically indexed array containing the list of supported
hashing algorithms.
</para>
+ <note>
+ <simpara>
+ Not all algorithms are suitable for every use case.
+ See the <link linkend="intro.hash">Hash extension introduction</link>
+ for a description of the different categories (checksum,
+ non-cryptographic, and cryptographic).
+ </simpara>
+ </note>
</refsect1>
<refsect1 role="changelog">