Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13999138
D8808.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
570 B
Referenced Files
None
Subscribers
None
D8808.diff
View Options
diff --git a/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php b/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php
--- a/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php
+++ b/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php
@@ -38,7 +38,7 @@
'cost' => $this->getBcryptCost(),
);
- $raw_hash = password_hash($raw_input, CRYPT_BLOWFISH, $options);
+ $raw_hash = password_hash($raw_input, PASSWORD_BCRYPT, $options);
return new PhutilOpaqueEnvelope($raw_hash);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 25, 1:02 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713965
Default Alt Text
D8808.diff (570 B)
Attached To
Mode
D8808: Change password_hash() algorithm from CRYPT_BLOWFISH to PASSWORD_BCRYPT.
Attached
Detach File
Event Timeline
Log In to Comment