Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit18ea83c

Browse files
committed
Merge pull requestsymfony#3325 from FlorianLB/supported_algorithms
[WIP] [security] adding a tip about supported algorithm for 'hash' function
2 parentsd42274b +6cd7516 commit18ea83c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎book/security.rst

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp