« mcrypt_module_close
mcrypt_module_get_algo_key_size »

mcrypt_module_get_algo_block_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)

mcrypt_module_get_algo_block_size — 指定したアルゴリズムのブロック長を返す

警告

この関数は PHP 7.1.0 で 非推奨となり、PHP 7.2.0 で削除 されました。この関数に頼らないことを強く推奨します。

説明

function mcrypt_module_get_algo_block_size(string $algorithm, string $lib_dir = ?): int

指定したアルゴリズムのブロック長を取得します。

パラメータ

algorithm

アルゴリズム名。

lib_dir

オプションのパラメータで、 システム上でのモードモジュールの位置を指定することが可能です。

戻り値

指定したアルゴリズムでサポートされるブロック長をバイト単位で返します。

関連キーワード:
アルゴリズム   mcrypt   ブロック   module   algo   size   block   algorithm   Mcrypt   非推奨   推奨   モード   サポート   バイト   単位
関連する関数・ページ:
function.mcrypt-module-is-block-algorithm   function.mcrypt-module-get-supported-key-sizes   function.mcrypt-module-is-block-algorithm-mode   ref.mcrypt   book.mcrypt   function.mcrypt-module-get-algo-key-size