Created
May 3, 2019 14:13
-
-
Save rdlmda/267b548372c1673d49b1bf749363623e to your computer and use it in GitHub Desktop.
Generate a bcrypt hashed password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php -r "echo password_hash('ThePassword', PASSWORD_BCRYPT, ['cost' => 13]) . PHP_EOL;" | |
| # It will output something like: $2y$13$7mBTrD0lgdgBxt1.YbdvOOeSOrPUYOBfeC1Ra2osPs9lpCHdplw1m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment