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 起廢棄。強烈建議不要使用本函式。
說明
mcrypt_module_get_algo_block_size(string
$algorithm
, string $lib_dir
= ?): int返回指定演算法的分組大小。
參數
-
algorithm
-
演算法名稱。
-
lib_dir
-
可選參數
lib_dir
, 表示在操作系統上包含模式模組的路徑。
返回值
返回指定演算法的分組大小,以位元組為單位。