« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 22 for urandom (0.002 sec.)
暗号学的にセキュアな、ランダムなバイト列を生成する 11767
« Random\Engine\Secure Random\Engine\Mt19937 » PHP Manual Random\Engine\Secure 暗号学的にセキュアな、ランダムなバイト列を生成する 検索 Random\Engine\Secure::generate (PHP 8 >= 8.2.0) Random\Engine\Secure::generate — 暗号学的にセキュアな、ラ ... な、ランダムなバイト列を返します。 この関数が使う不規則性のソースは、優先度順に以下のとおりです: Linux: » getrandom() , /dev/urandom FreeBSD >= 12 (PHP >= 7.3): » getrandom() , /dev/urandom Windows (PHP >= 7.2): » CNG-API Windows: » CryptGenRandom macOS ( ... enerateBytes がコンパイル時に利用可能な場合): CCRandomGenerateBytes() macOS (PHP >= 8.1; >= 8.0.2): arc4random_buf(), /dev/urandom NetBSD >= 7 (PHP >= 7.1; >= 7.0.1): arc4random_buf(), /dev/urandom OpenBSD >= 5.5 (PHP >= 7.1; >= 7.0.1): arc4random_buf() ... , /dev/urandom DragonflyBSD (PHP >= 8.1): » getrandom() , /dev/urandom Solaris (PHP >= 8.1): » getrandom() , /dev/urandom 上記にあてはまら ...
https://man.mtool.work/php/8.3/random-engine-secure.generate.html
暗号学的にセキュアな、ランダムなバイト列を生成する 11699
« Random\Engine\Secure Random\Engine\Mt19937 » PHP Manual Random\Engine\Secure 暗号学的にセキュアな、ランダムなバイト列を生成する 検索 Random\Engine\Secure::generate (PHP 8 >= 8.2.0) Random\Engine\Secure::generate — 暗号学的にセキュアな、ラ ... な、ランダムなバイト列を返します。 この関数が使う不規則性のソースは、優先度順に以下のとおりです: Linux: » getrandom() , /dev/urandom FreeBSD >= 12 (PHP >= 7.3): » getrandom() , /dev/urandom Windows (PHP >= 7.2): » CNG-API Windows: » CryptGenRandom macOS ( ... enerateBytes がコンパイル時に利用可能な場合): CCRandomGenerateBytes() macOS (PHP >= 8.1; >= 8.0.2): arc4random_buf(), /dev/urandom NetBSD >= 7 (PHP >= 7.1; >= 7.0.1): arc4random_buf(), /dev/urandom OpenBSD >= 5.5 (PHP >= 7.1; >= 7.0.1): arc4random_buf() ... , /dev/urandom DragonflyBSD (PHP >= 8.1): » getrandom() , /dev/urandom Solaris (PHP >= 8.1): » getrandom() , /dev/urandom 上記にあてはまら ...
https://man.mtool.work/php/8.3/random-engine-secure.generate.html
暗号学的にセキュアな方法で、等確率に出る整数を取得する 10807
« random_bytes srand » PHP Manual Random 関数 暗号学的にセキュアな方法で、等確率に出る整数を取得する 検索 random_int (PHP 7, PHP 8) random_int — 暗号学的にセキュアな方法で、等確率に出る整数を取得する 説明 function random_int ( int $min , in ... 間使うシークレットが挙げられます。 この関数が使う不規則性のソースは、優先度順に以下のとおりです: Linux: » getrandom() , /dev/urandom FreeBSD >= 12 (PHP >= 7.3): » getrandom() , /dev/urandom Windows (PHP >= 7.2): » CNG-API Windows: » CryptGenRandom macOS ( ... enerateBytes がコンパイル時に利用可能な場合): CCRandomGenerateBytes() macOS (PHP >= 8.1; >= 8.0.2): arc4random_buf(), /dev/urandom NetBSD >= 7 (PHP >= 7.1; >= 7.0.1): arc4random_buf(), /dev/urandom OpenBSD >= 5.5 (PHP >= 7.1; >= 7.0.1): arc4random_buf() ... , /dev/urandom DragonflyBSD (PHP >= 8.1): » getrandom() , /dev/urandom Solaris (PHP >= 8.1): » getrandom() , /dev/urandom 上記にあてはまら ...
https://man.mtool.work/php/8.3/function.random-int.html
暗号学的にセキュアな方法で、等確率に出る整数を取得する 10757
« random_bytes srand » PHP Manual Random 関数 暗号学的にセキュアな方法で、等確率に出る整数を取得する 検索 random_int (PHP 7, PHP 8) random_int — 暗号学的にセキュアな方法で、等確率に出る整数を取得する 説明 function random_int ( int $min , in ... 間使うシークレットが挙げられます。 この関数が使う不規則性のソースは、優先度順に以下のとおりです: Linux: » getrandom() , /dev/urandom FreeBSD >= 12 (PHP >= 7.3): » getrandom() , /dev/urandom Windows (PHP >= 7.2): » CNG-API Windows: » CryptGenRandom macOS ( ... enerateBytes がコンパイル時に利用可能な場合): CCRandomGenerateBytes() macOS (PHP >= 8.1; >= 8.0.2): arc4random_buf(), /dev/urandom NetBSD >= 7 (PHP >= 7.1; >= 7.0.1): arc4random_buf(), /dev/urandom OpenBSD >= 5.5 (PHP >= 7.1; >= 7.0.1): arc4random_buf() ... , /dev/urandom DragonflyBSD (PHP >= 8.1): » getrandom() , /dev/urandom Solaris (PHP >= 8.1): » getrandom() , /dev/urandom 上記にあてはまら ...
https://man.mtool.work/php/8.3/function.random-int.html
暗号学的にセキュアな、ランダムなバイト列を生成する 10572
« rand random_int » PHP Manual Random 関数 暗号学的にセキュアな、ランダムなバイト列を生成する 検索 random_bytes (PHP 7, PHP 8) random_bytes — 暗号学的にセキュアな、ランダムなバイト列を生成する 説明 function random_bytes ( int $length ): str ... 間使うシークレットが挙げられます。 この関数が使う不規則性のソースは、優先度順に以下のとおりです: Linux: » getrandom() , /dev/urandom FreeBSD >= 12 (PHP >= 7.3): » getrandom() , /dev/urandom Windows (PHP >= 7.2): » CNG-API Windows: » CryptGenRandom macOS ( ... enerateBytes がコンパイル時に利用可能な場合): CCRandomGenerateBytes() macOS (PHP >= 8.1; >= 8.0.2): arc4random_buf(), /dev/urandom NetBSD >= 7 (PHP >= 7.1; >= 7.0.1): arc4random_buf(), /dev/urandom OpenBSD >= 5.5 (PHP >= 7.1; >= 7.0.1): arc4random_buf() ... , /dev/urandom DragonflyBSD (PHP >= 8.1): » getrandom() , /dev/urandom Solaris (PHP >= 8.1): » getrandom() , /dev/urandom 上記にあてはまら ...
https://man.mtool.work/php/8.3/function.random-bytes.html
暗号学的にセキュアな、ランダムなバイト列を生成する 10572
« rand random_int » PHP Manual Random 関数 暗号学的にセキュアな、ランダムなバイト列を生成する 検索 random_bytes (PHP 7, PHP 8) random_bytes — 暗号学的にセキュアな、ランダムなバイト列を生成する 説明 function random_bytes ( int $length ): str ... 間使うシークレットが挙げられます。 この関数が使う不規則性のソースは、優先度順に以下のとおりです: Linux: » getrandom() , /dev/urandom FreeBSD >= 12 (PHP >= 7.3): » getrandom() , /dev/urandom Windows (PHP >= 7.2): » CNG-API Windows: » CryptGenRandom macOS ( ... enerateBytes がコンパイル時に利用可能な場合): CCRandomGenerateBytes() macOS (PHP >= 8.1; >= 8.0.2): arc4random_buf(), /dev/urandom NetBSD >= 7 (PHP >= 7.1; >= 7.0.1): arc4random_buf(), /dev/urandom OpenBSD >= 5.5 (PHP >= 7.1; >= 7.0.1): arc4random_buf() ... , /dev/urandom DragonflyBSD (PHP >= 8.1): » getrandom() , /dev/urandom Solaris (PHP >= 8.1): » getrandom() , /dev/urandom 上記にあてはまら ...
https://man.mtool.work/php/8.3/function.random-bytes.html
Creates an initialization vector (IV) from a random source 8484
« Mcrypt 関数 mcrypt_decrypt » PHP Manual Mcrypt 関数 Creates an initialization vector (IV) from a random source 検索 mcrypt_create_iv (PHP 4, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_create_iv — Creates an initialization vector ( ... の関数の代替として、これらが使えます。 random_bytes() 説明 function mcrypt_create_iv ( int $size , int $source = MCRYPT_DEV_URANDOM ): string Creates an initialization vector (IV) from a random source. The IV is only meant to give an alternative seed to ... source can be MCRYPT_RAND (system random number generator), MCRYPT_DEV_RANDOM (read data from /dev/random ) and MCRYPT_DEV_URANDOM (read data from /dev/urandom ). Prior to 5.3.0, MCRYPT_RAND was the only one supported on Windows. Note that the default v ...
https://man.mtool.work/php/8.3/function.mcrypt-create-iv.html
Creates an initialization vector (IV) from a random source 8484
« Mcrypt 関数 mcrypt_decrypt » PHP Manual Mcrypt 関数 Creates an initialization vector (IV) from a random source 検索 mcrypt_create_iv (PHP 4, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_create_iv — Creates an initialization vector ( ... の関数の代替として、これらが使えます。 random_bytes() 説明 function mcrypt_create_iv ( int $size , int $source = MCRYPT_DEV_URANDOM ): string Creates an initialization vector (IV) from a random source. The IV is only meant to give an alternative seed to ... source can be MCRYPT_RAND (system random number generator), MCRYPT_DEV_RANDOM (read data from /dev/random ) and MCRYPT_DEV_URANDOM (read data from /dev/urandom ). Prior to 5.3.0, MCRYPT_RAND was the only one supported on Windows. Note that the default v ...
https://man.mtool.work/php/8.3/function.mcrypt-create-iv.html
暗号化フィルタ 7945
« 圧縮フィルタ サポートされるソケットトランスポートのリスト » PHP Manual 利用できるフィルタのリスト 暗号化フィルタ 検索 暗号化フィルタ 暗号化フィルタは、ファイル/ストリーム を暗号化する場合に特に有用です。 mcrypt.* と mdecrypt.* 警告 この機 ... のとする $iv_size = mcrypt_get_iv_size ( MCRYPT_BLOWFISH , MCRYPT_MODE_CBC ); $iv = mcrypt_create_iv ( $iv_size , MCRYPT_DEV_URANDOM ); $fp = fopen ( 'encrypted-file.enc' , 'wb' ); fwrite ( $fp , $iv ); $opts = array( 'mode' => 'cbc' , 'iv' => $iv , 'key' ... 32 ) ); //placeholder, SHA256 HMAC will go here later fwrite ( $fc , $hmac_salt = mcrypt_create_iv ( $iv_size , MCRYPT_DEV_URANDOM )); fwrite ( $fc , $esalt = mcrypt_create_iv ( $iv_size , MCRYPT_DEV_URANDOM )); fwrite ( $fc , $iv = mcrypt_create_iv ( $ ... iv_size , MCRYPT_DEV_URANDOM )); $ekey = hash_pbkdf2 ( "sha256" , $password , $esalt , $it = 1000 , self :: key_size (), $raw = true ); $opts = array( ...
https://man.mtool.work/php/8.3/filters.encryption.html
暗号化フィルタ 7945
« 圧縮フィルタ サポートされるソケットトランスポートのリスト » PHP Manual 利用できるフィルタのリスト 暗号化フィルタ 検索 暗号化フィルタ 暗号化フィルタは、ファイル/ストリーム を暗号化する場合に特に有用です。 mcrypt.* と mdecrypt.* 警告 この機 ... のとする $iv_size = mcrypt_get_iv_size ( MCRYPT_BLOWFISH , MCRYPT_MODE_CBC ); $iv = mcrypt_create_iv ( $iv_size , MCRYPT_DEV_URANDOM ); $fp = fopen ( 'encrypted-file.enc' , 'wb' ); fwrite ( $fp , $iv ); $opts = array( 'mode' => 'cbc' , 'iv' => $iv , 'key' ... 32 ) ); //placeholder, SHA256 HMAC will go here later fwrite ( $fc , $hmac_salt = mcrypt_create_iv ( $iv_size , MCRYPT_DEV_URANDOM )); fwrite ( $fc , $esalt = mcrypt_create_iv ( $iv_size , MCRYPT_DEV_URANDOM )); fwrite ( $fc , $iv = mcrypt_create_iv ( $ ... iv_size , MCRYPT_DEV_URANDOM )); $ekey = hash_pbkdf2 ( "sha256" , $password , $esalt , $it = 1000 , self :: key_size (), $raw = true ); $opts = array( ...
https://man.mtool.work/php/8.3/filters.encryption.html
PREV 1 2 3 NEXT