-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[WIP] [security] adding a tip about supported algorithm for 'hash' function #3325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
FlorianLB
commented
Dec 14, 2013
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | 2.2+ |
Fixed tickets | #3158 |
Could you please add the PR format to your PR description? |
@@ -1358,6 +1358,10 @@ the password is simply run through the ``sha1`` algorithm one time and without | |||
any extra encoding. You can now calculate the hashed password either programmatically | |||
(e.g. ``hash('sha1', 'ryanpass')``) or via some online tool like `functions-online.com`_ | |||
|
|||
.. tip:: | |||
|
|||
Supported algorithms for this method depend on your PHP version. Full list is available calling the PHP method ``hash_algos()``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should break a line after the first word that crosses the 72th character.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And what about "A full list is available [...]"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and, as last, you can use a PHP.net link:
:phpfunction:`hash_algos`
|
Thx for feedback. Fixed. |
[WIP] [security] adding a tip about supported algorithm for 'hash' function
Nice work Florian! Very nice to meet you at the conference! |