1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-23 22:52:11 +01:00

58 Commits

Author SHA1 Message Date
Yoshinari Takaoka
52c3767f63 [reference/password] sync with en 2025-09-02 19:24:28 +09:00
Akinori Akatsuka
b5716fa9bc follow php/doc-en#4455 (#268)
* password_hash: Update for PHP 8.4

* password_*(): Sync with `password_hash()`

* `password_hash()` のサンプルコードも原文の更新に追随

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
2025-03-09 18:53:34 +09:00
nsfisis
d253650e30 Document argon2 installation with OpenSSL in PHP 8.4 を取り込み (#249) 2025-01-19 11:07:54 +09:00
Yoshinari Takaoka
366ef9df6b password_algos(): Fix function name in example title
d4e842ad11
2024-08-31 21:12:19 +09:00
Yoshinari Takaoka
56d4d96192 Remove empty resources pages
48ce43fe79
2024-07-27 20:38:54 +09:00
Yoshinari Takaoka
adbc745a9d Remove empty configuration pages
765b2d6eec
2024-07-27 19:04:27 +09:00
Yoshinari Takaoka
0667e7bf65 Document SensitiveParameter attributes - part 1
5bc68add3d
2024-05-23 20:56:44 +09:00
Yoshinari Takaoka
aed086445c Add PASSWORD_BCRYPT_DEFAULT_COST and PASSWORD_ARGON2_PROVIDER
c6532951ed
2024-02-11 20:38:23 +09:00
Yoshinari Takaoka
383503a32c Update EN-Revision only / password_needs_rehash: Fix example
ff492e168a
2023-09-24 12:04:20 +09:00
Yoshinari Takaoka
c11acef9cf password_verify: Update the example hash to actually be consistent with password_hash()
ba9021d03c
2023-09-24 12:02:50 +09:00
Yoshinari Takaoka
5ec1e3b76b password_needs_rehash: Fix example
The old example was broken, because the `cost` option is only valid for bcrypt,
but not for argon2. Thus in case the default algorithm actually changes, the
example would be broken.

c3dce34e6f
2023-09-24 12:01:40 +09:00
Yoshinari Takaoka
e51c21f09b password_hash: Update script to generate cost recommendations
50 ms is way to short to generate actually secure hashes. Update the
recommendation to 350 ms with a starting cost of 10 (the current default) and
example output of 12.

c6b95280cf
2023-09-24 11:56:42 +09:00
Yoshinari Takaoka
b0d8ffb687 password_hash: Update the caution note about providing a salt
9aa9bd7c15
2023-09-24 11:52:55 +09:00
Yoshinari Takaoka
6e2173e192 Fix: [Password Setup] Remove configure option argument requirement as of PHP 8.1.0
2ae2df906e
2023-07-29 12:23:04 +09:00
Yoshinari Takaoka
fb3d0b8b25 Add note of what happens instead of false being returned.
4316a792b7
2023-02-18 10:48:57 +09:00
Yoshinari Takaoka
20ac15f970 Make password_needs_rehash() more prominent
Successful validation should usually be followed by re-hashing the
password, if necessary.  The `password_needs_rehash()` docs already
have a good example, but the `password_verify()` page does not mention
that at all.  Instead of duplicating the example, we refer to it.

We also remove the link to the password compatibility library, since it
is no longer relevant for the manual.

abc0c909d5
2023-01-27 10:36:04 +09:00
Yoshinari Takaoka
1b92d2dd7c 最終的に、全体を「拡張モジュール」に統一することとした
closes: #24
2022-10-17 22:00:50 +09:00
Yoshinari Takaoka
c783e27980 Argon2's memory_cost is in kilobytes, not bytes
https://www.php.net/password-hash says "kibibytes", spec https://www.password-hashing.net/argon2-specs.pdf says "kilobytes", went with "kibibytes" to match the other docs page.

6be77ad626
2022-05-27 02:32:46 +09:00
Yoshinari Takaoka
7b66bcce5d password_verify is capable of verifying crypt hashes
f93ab9943c
2022-02-23 17:06:23 +09:00
Yoshinari Takaoka
5f44187f82 Fix: bcrypt max password length is about bytes, not characters
98ba3bd97a
2022-01-15 14:35:06 +09:00
Yoshinari Takaoka
54f7a84c13 Fix password_needs_rehash method signature
39148ec514
2021-09-18 18:03:08 +09:00
Yoshinari Takaoka
09d8f2872e Fix #81299: password_hash() documentation is missing PHP 8 changes
79c06cc0e7
2021-07-26 22:12:21 +09:00
Yoshinari Takaoka
ef87335244 additional return value fix of shell_exec func
c2e8536717
2021-07-26 22:10:06 +09:00
Yoshinari Takaoka
ea4d8816de Add information about "threads" with libsodium 2021-07-10 00:05:51 +09:00
Yoshinari Takaoka
baeb602790 Removed references to PHP 5, PHP 7.0 (php/doc-en#545) 2021-04-25 17:35:27 +09:00
Yoshinari Takaoka
9430c89592 Fix #79565: Documentation missing for password_algos() 2021-01-25 00:22:49 +09:00
Yoshinari Takaoka
e70a9d4629 Fix return types
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:51:55 +00:00
Yoshinari Takaoka
144f5f2124 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351153 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:20:32 +00:00
Yoshinari Takaoka
6a2db52c1e Fix section order
It's supposed to be return values, changelog, examples.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349973 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-24 12:32:26 +00:00
Yoshinari Takaoka
c8c00c6393 Fix #79565: Documentation missing for password_algos()
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349906 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-18 04:45:33 +00:00
Yoshinari Takaoka
38e62ecaf1 deleted needless parentheses in <function></funciton>
... and some tweaks.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348933 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-16 21:58:32 +00:00
Yoshinari Takaoka
93737d9aa1 updated password related doc translations
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348773 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-02 18:18:53 +00:00
Yoshinari Takaoka
4252651341 fixed xml build error
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348363 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-28 15:47:00 +00:00
Satoru Yoshida
f6217d5ff4 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348119 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-02 13:40:08 +00:00
Satoru Yoshida
5113578e60 correct typo, Thanks to #100099 !
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348118 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-02 12:26:12 +00:00
George Peter Banyard
cea7f84b3f Japanese typos provided by various anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@347895 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-26 01:37:16 +00:00
TAKAGI Masahiro
dc6cf6558f Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@343558 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-01 19:06:11 +00:00
Satoru Yoshida
041549d68f sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342436 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-29 04:40:46 +00:00
TAKAGI Masahiro
71fa8e3ff1 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@338253 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-14 22:24:20 +00:00
TAKAGI Masahiro
43331e5a94 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@337983 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-10 13:35:47 +00:00
TAKAGI Masahiro
610f98c9c0 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@337616 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 22:53:05 +00:00
TAKAGI Masahiro
5293505252 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@337070 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-28 04:54:49 +00:00
TAKAGI Masahiro
5f9fbfec82 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@336037 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-04 22:37:26 +00:00
TAKAGI Masahiro
3397f26479 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@334861 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-14 13:18:08 +00:00
TAKAGI Masahiro
70c1a3ef8b Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@334714 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 21:22:39 +00:00
TAKAGI Masahiro
d0755fa418 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@334319 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-18 12:08:24 +00:00
TAKAGI Masahiro
7b03846d6b Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@333985 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-28 04:30:14 +00:00
TAKAGI Masahiro
634ea32cc9 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@333108 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-25 09:31:35 +00:00
TAKAGI Masahiro
e46971500e SYnc with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@332793 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-06 23:07:48 +00:00
TAKAGI Masahiro
7ac51d5543 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@332669 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-19 02:11:13 +00:00