mcrypt_module_get_algo_key_size
(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
mcrypt_module_get_algo_key_size — 獲取打開模式所支援的最大金鑰大小
警告
本函式已自 PHP 7.1.0 起廢棄。強烈建議不要使用本函式。
說明
mcrypt_module_get_algo_key_size(string
$algorithm
, string $lib_dir
= ?): int獲取打開模式所支援的最大金鑰大小。
參數
-
algorithm
-
演算法名稱。
-
lib_dir
-
可選參數, 表示在操作系統上包含模式模組的路徑。
返回值
本函式返回演算法所支援的最大金鑰大小, 以位元組為單位。