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

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: password_verify: Update the example hash to actually be consistent with p
From:       Tim_Düsterhus_via_GitHub <noreply () php ! net>
Date:       2023-09-22 15:51:04
Message-ID: LaXMqqremid0lqv44NL3XJsXKKX2ZGOIPC4UWGDuvLA () main ! php ! net
[Download RAW message or body]

Author: Tim Düsterhus (TimWolla)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2023-09-22T16:37:34+01:00

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


password_verify: Update the example hash to actually be consistent with \
password_hash() (#2787)

Changed paths:
  M  reference/password/functions/password-verify.xml


Diff:

diff --git a/reference/password/functions/password-verify.xml \
b/reference/password/functions/password-verify.xml index 82fa61181d9..2bc0aa4d6d9 \
                100644
--- a/reference/password/functions/password-verify.xml
+++ b/reference/password/functions/password-verify.xml
@@ -73,7 +73,7 @@
 <![CDATA[
 <?php
 // See the password_hash() example to see where this came from.
-$hash = '$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq';
+$hash = '$2y$10$.vGA1O9wmRjrwAVXD98HNOgsNpDczlqm3Jq7KnEd1rVAGv3Fykk1a';
 
 if (password_verify('rasmuslerdorf', $hash)) {
     echo 'Password is valid!';

-- 
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