Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14014364
D8808.id.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.id.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
Mon, Nov 4, 2:03 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713965
Default Alt Text
D8808.id.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