mcrypt_module_get_algo_key_size()
(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
获取打开模式所支持的最大密钥大小
WarningThis function has beenDEPRECATEDas of PHP 7.1.0. Relying on this functionis highly discouraged.
说明
mcrypt_module_get_algo_key_size(string $algorithm[,string $lib_dir]): int
获取打开模式所支持的最大密钥大小。
参数
- $algorithm
算法名称。
- $lib_dir
可选参数,表示在操作系统上包含模式模块的路径。
返回值
本函数返回算法所支持的最大密钥大小,以字节为单位。