mcrypt_enc_get_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_enc_get_key_size(resource $td): int
返回打开的模式所能支持的最长密钥,以字节为单位。
参数
- $td
加密描述符。
返回值
返回打开的模式所能支持的最长密钥,以字节为单位。