Results of 1 - 8 of about 8 for modulus (0.002 sec.)
- bcpowmod — 任意精度数値のべき乗の、指定した数値による剰余 | PHP 8.3 11784
- bcpowmod (PHP 5, PHP 7, PHP 8) bcpowmod — 任意精度数値のべき乗の、指定した数値による剰余 説明 function bcpowmod ( string $num , string $exponent , string $modulus , ? int $scale = null ): string modulus で割った余りを求めることを考慮して、
... り、scale は 0 でなければいけません) exponent 指数を表す、負でない、整数の文字列。 (つまり、scale は 0 でなければいけません) modulus 法を表す、整数の文字列。 (つまり、scale は 0 でなければいけません) scale 結果の小数点以下の桁数を指定します。 null の場合は ... ます。 戻り値 結果を文字列で返します。 エラー / 例外 この関数は、以下の場合に ValueError をスローします: num か exponent か modulus のいずれかが、BCMath で有効でない数値形式の文字列である場合 num か exponent か modulus のいずれかが整数値でない場合 expone ... nt が負の値である場合 scale が範囲外の値である場合 この関数は、 modulus の値が 0 である場合、 DivisionByZeroError 例外をスローします。 変更履歴 バージョン 説明 8.0.0 scale は、nullable になりまし ...
-
https://man.mtool.work/php/8.3/function.bcpowmod.html
- BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 | PHP 8.... 11296
- BcMath\Number::powmod (PHP 8 >= 8.4.0) BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 説明 public function BcMath\Number::powmod ( BcMath\Number | string | int $exponent , BcMath\Number | string | int $modulus , ? in
... t $scale = null ): BcMath\Number modulus で割った余りを求めることを考慮して、 $this の exponent 乗を高速に計算します。 パラメータ exponent 基数を表す整数の値。 (つ ... まり、scale は 0 でなければいけません) modulus 指数を表す、負でない、整数の値。 (つまり、scale は 0 でなければいけません) scale 計算結果オブジェクトの BcMath\Number::sca ... 設定される場合、常に 0 になります。 エラー / 例外 このメソッドは、以下の場合に ValueError をスローします: exponent もしくは modulus が、BCMath で有効でない数値形式の文字列である場合 $this か exponent か modulus のうち、どれか一つでも整数値でない場合 expo ...
-
https://man.mtool.work/php/8.3/bcmath-number.powmod.html
- gmp_powm — べき乗とモジュロを計算する | PHP 8.3 10917
- gmp_powm (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_powm — べき乗とモジュロを計算する 説明 function gmp_powm ( GMP | int | string $num , GMP | int | string $exponent , GMP | int | string $modulus ): GMP modulus を法として ( num の exponent 乗
... 釈可能な string 。 文字列の場合、 gmp_init() で基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 modulus モジュロ。 GMP オブジェクト、 int 、 あるいは数値として解釈可能な string 。 文字列の場合、 gmp_init() で基数を自動検出する ... 同じ方法で解釈されます。 戻り値 結果を GMP 数で返します。 エラー / 例外 exponent が負の場合、 ValueError がスローされます。 modulus が 0 の場合、 DivisionByZeroError がスローされます。 PHP 8.0.0 より前のバージョンでは、 E_WARNING が発生していました。 例 ...
-
https://man.mtool.work/php/8.3/function.gmp-powm.html
- openssl_x509_check_private_key — 秘密鍵が証明書に対応するかを確認する | PHP 8.3 7880
- openssl_x509_check_private_key (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) openssl_x509_check_private_key — 秘密鍵が証明書に対応するかを確認する 説明 function openssl_x509_check_private_key ( OpenSSLCertificate | string $certificate , #[ \Sensiti
... べます。 警告 この関数は private_key が秘密鍵かどうかをチェックしません。 単に、公開されている材料 (例: RSA 鍵の exponent や modulus) かつ/または キーペアのキーのパラメータ (例: ECキー の EC params) を比較しているだけです。 これはたとえば、公開鍵を privat ...
-
https://man.mtool.work/php/8.3/function.openssl-x509-check-private-key.html
- openssl_pkey_get_details — キーの詳細の配列を返す | PHP 8.3 7772
- openssl_pkey_get_details (PHP 5 >= 5.2.0, PHP 7, PHP 8) openssl_pkey_get_details — キーの詳細の配列を返す 説明 function openssl_pkey_get_details ( OpenSSLAsymmetricKey $key ): array | false この関数は、キーの詳細 (bits, key, type) を返します
... 素もあることに注意しましょう。 OPENSSL_KEYTYPE_RSA の場合は "rsa" というキーがあり、キーのデータが返されます。 Key 説明 "n" modulus "e" public exponent "d" private exponent "p" prime 1 "q" prime 2 "dmp1" exponent1, d mod (p-1) "dmq1" exponent2, d mod (q- ...
-
https://man.mtool.work/php/8.3/function.openssl-pkey-get-details.html
- BcMath\Number クラス | PHP 8.3 7681
- BcMath\Number クラス (PHP 8 >= 8.4.0) はじめに 任意精度数値のクラスです。 このオブジェクトは、オーバーロードされた 算術演算子 , 比較演算子 をサポートしています。 注意 : このクラスは、 php.ini で設定された bcmath.scale INI ディレクティブの影
... le = null ): BcMath\Number public function powmod ( BcMath\Number | string | int $exponent , BcMath\Number | string | int $modulus , ? int $scale = null ): BcMath\Number public function round ( int $precision = 0 , RoundingMode $mode = RoundingMode::Hal ...
-
https://man.mtool.work/php/8.3/class.bcmath-number.html
- openssl_pkey_new — 新規に秘密鍵を生成する | PHP 8.3 7482
- openssl_pkey_new (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) openssl_pkey_new — 新規に秘密鍵を生成する 説明 function openssl_pkey_new ( ? array $options = null ): OpenSSLAsymmetricKey | false openssl_pkey_new() は、 新しい秘密鍵を生成します。 鍵の
... す。 RSA パラメータを設定するためのキーは "rsa" です。 options type format required description "n" string binary number yes modulus "e" string binary number no public exponent "d" string binary number yes private exponent "p" string binary number no prim ...
-
https://man.mtool.work/php/8.3/function.openssl-pkey-new.html
- Backward Incompatible Changes | PHP 8.3 7392
- Backward Incompatible Changes PHP Core By-reference foreach after array compaction By-reference foreach loops may now visit previously skipped elements after array compaction. Internal pointers on deleted elements now move to the next survi
... sage of the DivisionByZeroError raised by gmp_powm() on modulo by zero now includes the function name and argument index ( modulus ). Intl Passing a non-stringable object as a time zone to Intl API s that accept time zone objects or strings now raises a ...
-
https://man.mtool.work/php/8.3/migration86.incompatible.html
PREV
1
NEXT