[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: crypt: Do not reference `md5()` (#2790)
From:       Tim_Düsterhus_via_GitHub <noreply () php ! net>
Date:       2023-09-22 16:30:56
Message-ID: acV2OGdtkAbPNibKwviPwRjf2E62Qhs6yjhfSCCTsc () main ! php ! net
[Download RAW message or body]

Author: Tim Düsterhus (TimWolla)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2023-09-22T17:17:26+01:00

Commit: https://github.com/php/doc-en/commit/cc88cbd3303ca3342dcdcd643eae793e564730c7
Raw diff: https://github.com/php/doc-en/commit/cc88cbd3303ca3342dcdcd643eae793e564730c7.diff

crypt: Do not reference `md5()` (#2790)

`md5()` should not be referenced anywhere, especially not anywhere near a
function that is suitable for hashing passwords.

Changed paths:
  M  reference/strings/functions/crypt.xml


Diff:

diff --git a/reference/strings/functions/crypt.xml b/reference/strings/functions/crypt.xml
index da00172c52d..3376a4bffe7 100644
--- a/reference/strings/functions/crypt.xml
+++ b/reference/strings/functions/crypt.xml
@@ -218,7 +218,6 @@ if (hash_equals($hashed_password, crypt($user_input, $hashed_password))) {
    <simplelist>
     <member><function>hash_equals</function></member>
     <member><function>password_hash</function></member>
-    <member><function>md5</function></member>
     <member>The Unix man page for your crypt function for more information</member>
    </simplelist>
   </para>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic