Skip to content

Commit 95e9c76

Browse files
committed
Merge branch '2.2' into 2.3
2 parents 2b65b23 + 18ea83c commit 95e9c76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

book/security.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1356,6 +1356,11 @@ the password is simply run through the ``sha1`` algorithm one time and without
13561356
any extra encoding. You can now calculate the hashed password either programmatically
13571357
(e.g. ``hash('sha1', 'ryanpass')``) or via some online tool like `functions-online.com`_
13581358

1359+
.. tip::
1360+
1361+
Supported algorithms for this method depend on your PHP version.
1362+
A full list is available calling the PHP function :phpfunction:`hash_algos`.
1363+
13591364
If you're creating your users dynamically (and storing them in a database),
13601365
you can use even tougher hashing algorithms and then rely on an actual password
13611366
encoder object to help you encode passwords. For example, suppose your User

0 commit comments

Comments
 (0)