From 68cbcb477615dc51133504c27d62404a491909f3 Mon Sep 17 00:00:00 2001 From: Pieter Hordijk Date: Tue, 7 Mar 2017 18:47:33 +0000 Subject: [PATCH] Made MD5 and SHA1 notes on password hashing more prominent -- Provided by anonymous 59531 () git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342043 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/md5.xml | 14 +++++++++----- reference/strings/functions/sha1.xml | 13 ++++++++----- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/reference/strings/functions/md5.xml b/reference/strings/functions/md5.xml index 7998deb863..d359f4afad 100644 --- a/reference/strings/functions/md5.xml +++ b/reference/strings/functions/md5.xml @@ -19,6 +19,15 @@ MD5 Message-Digest Algorithm, and returns that hash. + + + &reftitle.notes; + ¬e.passwordhashing; + + password_hash + + + &reftitle.parameters; @@ -72,11 +81,6 @@ if (md5($str) === '1f3870be274f6c49b3e31a0c6728957f') { - - - &reftitle.notes; - ¬e.passwordhashing; - &reftitle.seealso; diff --git a/reference/strings/functions/sha1.xml b/reference/strings/functions/sha1.xml index 816a4fdfb5..111bdc6adb 100644 --- a/reference/strings/functions/sha1.xml +++ b/reference/strings/functions/sha1.xml @@ -18,6 +18,14 @@ US Secure Hash Algorithm 1. + + + &reftitle.notes; + ¬e.passwordhashing; + + password_hash + + &reftitle.parameters; @@ -72,11 +80,6 @@ if (sha1($str) === 'd0be2dc421be4fcd0172e5afceea3970e2f3d940') { - - - &reftitle.notes; - ¬e.passwordhashing; - &reftitle.seealso;