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

Commit41f6bc0

Browse files
author
FlorianLB
committed
[security] adding a tip about supported algorithm for 'hash' function
1 parentca3ef4b commit41f6bc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎book/security.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,10 @@ 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. Full list is available calling the PHP method ``hash_algos()``.
1364+
13611365
If you're creating your users dynamically (and storing them in a database),
13621366
you can use even tougher hashing algorithms and then rely on an actual password
13631367
encoder object to help you encode passwords. For example, suppose your User

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp