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
-
可选参数, 表示在操作系统上包含模式模块的路径。
返回值
本函数返回算法所支持的最大密钥大小, 以字节为单位。

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.mcrypt-module-get-algo-key-size.php