« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 67 for crypt (0.004 sec.)
Validate a crypt setting string 10328
« Xpass 関数 crypt_gensalt » PHP Manual Xpass 関数 Validate a crypt setting string 検索 crypt_checksalt (PECL xpass >= 1.1.0) crypt_checksalt — Validate a crypt setting string 説明 function crypt_checksalt ( string $salt ): ? string Checks ... be re-hashed using the currently preferred hashing method. パラメータ salt Salt string to check. 戻り値 Returns one of the CRYPT_SALT_ * as an int . 例 例1 A crypt_checksalt() example <?php // Generate a salt for a legacy method $salt = crypt_gensalt ... ( CRYPT_PREFIX_STD_DES ); // Check the salt $test = crypt_checksalt ( $salt ); var_dump ( $test === CRYPT_SALT_METHOD_LEGACY ); // ... Generate a salt for default method $salt = crypt_gensalt (); // Check the salt $test = crypt_checksalt ( $salt ); var_dump ( $test === CRYPT_SALT_OK ); ?> 上の例の出力は以 ...
https://man.mtool.work/php/8.3/function.crypt-checksalt.html
Validate a crypt setting string 10328
« Xpass 関数 crypt_gensalt » PHP Manual Xpass 関数 Validate a crypt setting string 検索 crypt_checksalt (PECL xpass >= 1.1.0) crypt_checksalt — Validate a crypt setting string 説明 function crypt_checksalt ( string $salt ): ? string Checks ... be re-hashed using the currently preferred hashing method. パラメータ salt Salt string to check. 戻り値 Returns one of the CRYPT_SALT_ * as an int . 例 例1 A crypt_checksalt() example <?php // Generate a salt for a legacy method $salt = crypt_gensalt ... ( CRYPT_PREFIX_STD_DES ); // Check the salt $test = crypt_checksalt ( $salt ); var_dump ( $test === CRYPT_SALT_METHOD_LEGACY ); // ... Generate a salt for default method $salt = crypt_gensalt (); // Check the salt $test = crypt_checksalt ( $salt ); var_dump ( $test === CRYPT_SALT_OK ); ?> 上の例の出力は以 ...
https://man.mtool.work/php/8.3/function.crypt-checksalt.html
Compile a string for use as the salt argument to crypt 10072
« crypt_checksalt crypt_preferred_method » PHP Manual Xpass 関数 Compile a string for use as the salt argument to crypt 検索 crypt_gensalt (PECL xpass >= 1.1.0) crypt_gensalt — Compile a string for use as the salt argument to crypt 説明 fun ... ction crypt_gensalt ( string $prefix = null , int $count = 0 ): ? string Compile a string for use as the salt argument to crypt() . パ ... ラメータ prefix Hashing method. One of the CRYPT_PREFIX_ * constant. If null , the best available hashing method will be selected. count Controls the processing cost of th ... s 0 , a low default cost will be selected. 戻り値 Returns a string with the setting, or null in case of an error. 例 例1 A crypt_gensalt() example <?php // Generate the salt $salt = crypt_gensalt ( CRYPT_PREFIX_BLOWFISH ); // Hash the password $hash = ...
https://man.mtool.work/php/8.3/function.crypt-gensalt.html
Compile a string for use as the salt argument to crypt 10072
« crypt_checksalt crypt_preferred_method » PHP Manual Xpass 関数 Compile a string for use as the salt argument to crypt 検索 crypt_gensalt (PECL xpass >= 1.1.0) crypt_gensalt — Compile a string for use as the salt argument to crypt 説明 fun ... ction crypt_gensalt ( string $prefix = null , int $count = 0 ): ? string Compile a string for use as the salt argument to crypt() . パ ... ラメータ prefix Hashing method. One of the CRYPT_PREFIX_ * constant. If null , the best available hashing method will be selected. count Controls the processing cost of th ... s 0 , a low default cost will be selected. 戻り値 Returns a string with the setting, or null in case of an error. 例 例1 A crypt_gensalt() example <?php // Generate the salt $salt = crypt_gensalt ( CRYPT_PREFIX_BLOWFISH ); // Hash the password $hash = ...
https://man.mtool.work/php/8.3/function.crypt-gensalt.html
文字列の一方向のハッシュ化を行う 9944
« crc32 echo » PHP Manual String 関数 文字列の一方向のハッシュ化を行う 検索 crypt (PHP 4, PHP 5, PHP 7, PHP 8) crypt — 文字列の一方向のハッシュ化を行う 警告 この関数は (まだ)バイナリデータ対応ではありません! 説明 function crypt ( #[ \Sensit ... iveParameter ] string $string , string $salt ): string crypt() は、文字列のハッシュを返します。 Unix 標準の DES ベースのアルゴリズムか、 代替のアルゴリズムを使用します。 password_veri ... fy() は crypt() と互換性があるので、 crypt() が作ったパスワードハッシュは password_verify() でも使えます。 PHP 8.0.0 より前のバージョンで ... は、 salt パラメータは必須ではありませんでした。ただ、これを省略すると crypt() が作るハッシュが弱いものになってしまっていました。 このパラメータを省略した場合には、 E_NOTICE が発生していました。 十分 ...
https://man.mtool.work/php/8.3/function.crypt.html
文字列の一方向のハッシュ化を行う 9944
« crc32 echo » PHP Manual String 関数 文字列の一方向のハッシュ化を行う 検索 crypt (PHP 4, PHP 5, PHP 7, PHP 8) crypt — 文字列の一方向のハッシュ化を行う 警告 この関数は (まだ)バイナリデータ対応ではありません! 説明 function crypt ( #[ \Sensit ... iveParameter ] string $string , string $salt ): string crypt() は、文字列のハッシュを返します。 Unix 標準の DES ベースのアルゴリズムか、 代替のアルゴリズムを使用します。 password_veri ... fy() は crypt() と互換性があるので、 crypt() が作ったパスワードハッシュは password_verify() でも使えます。 PHP 8.0.0 より前のバージョンで ... は、 salt パラメータは必須ではありませんでした。ただ、これを省略すると crypt() が作るハッシュが弱いものになってしまっていました。 このパラメータを省略した場合には、 E_NOTICE が発生していました。 十分 ...
https://man.mtool.work/php/8.3/function.crypt.html
定義済み定数 9915
« Installation via PECL Xpass 関数 » PHP Manual Xpass 定義済み定数 検索 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Xpass ... extension provides various set of constants. Hash methods ( CRYPT_PREFIX_ * ) for crypt_gensalt() prefix parameter. Error codes ( CRYPT_SALT_ * ) returned by crypt_checksalt() . Password a ... lgorithms ( PASSWORD_ * ) for password_hash() algo parameter. Hashing methods CRYPT_PREFIX_STD_DES ( string ) The original hashing method from Unix V7, based on the DES block cipher. Because DES is cheap on ... sed when supporting old operating systems that support no other hash generation algorithm, due to how weak DES hashes are. CRYPT_PREFIX_EXT_DES ( string ) An extension of traditional DES, which eliminates the length limit, increases the salt size, and ...
https://man.mtool.work/php/8.3/xpass.constants.html
定義済み定数 9858
« Installation via PECL Xpass 関数 » PHP Manual Xpass 定義済み定数 検索 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Xpass ... extension provides various set of constants. Hash methods ( CRYPT_PREFIX_ * ) for crypt_gensalt() prefix parameter. Error codes ( CRYPT_SALT_ * ) returned by crypt_checksalt() . Password a ... lgorithms ( PASSWORD_ * ) for password_hash() algo parameter. Hashing methods CRYPT_PREFIX_STD_DES ( string ) The original hashing method from Unix V7, based on the DES block cipher. Because DES is cheap on ... sed when supporting old operating systems that support no other hash generation algorithm, due to how weak DES hashes are. CRYPT_PREFIX_EXT_DES ( string ) An extension of traditional DES, which eliminates the length limit, increases the salt size, and ...
https://man.mtool.work/php/8.3/xpass.constants.html
Get the prefix of the preferred hash method 9545
« crypt_gensalt データベース関連 » PHP Manual Xpass 関数 Get the prefix of the preferred hash method 検索 crypt_preferred_method (PECL xpass >= 1.1.0) crypt_preferred_method — Get the prefix of the preferred hash method 説明 function crypt_ ... ラメータ この関数にはパラメータはありません。 戻り値 Returns a string with the prefix, or null in case of an error. 例 例1 A crypt_preferred_method() example <?php var_dump ( crypt_preferred_method ()); ?> 上の例の出力は以下となります。 string(3) "$y$" ... 参考 crypt_gensalt() - Compile a string for use as the salt argument to crypt 関連キーワード: preferred method crypt prefix hash gens ...
https://man.mtool.work/php/8.3/function.crypt-preferred-method.html
Get the prefix of the preferred hash method 9503
« crypt_gensalt データベース関連 » PHP Manual Xpass 関数 Get the prefix of the preferred hash method 検索 crypt_preferred_method (PECL xpass >= 1.1.0) crypt_preferred_method — Get the prefix of the preferred hash method 説明 function crypt_ ... ラメータ この関数にはパラメータはありません。 戻り値 Returns a string with the prefix, or null in case of an error. 例 例1 A crypt_preferred_method() example <?php var_dump ( crypt_preferred_method ()); ?> 上の例の出力は以下となります。 string(3) "$y$" ... 参考 crypt_gensalt() - Compile a string for use as the salt argument to crypt 関連キーワード: preferred method crypt prefix Get hash ...
https://man.mtool.work/php/8.3/function.crypt-preferred-method.html
PREV 1 2 3 4 5 6 7 NEXT