CakeFest 2024: The Official CakePHP Conference

mcrypt_enc_get_key_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)

mcrypt_enc_get_key_size返回打开的模式所能支持的最长密钥

警告

本函数已自 PHP 7.1.0 起废弃并将自 PHP 7.2.0 起移除。强烈建议不要使用本函数。

说明

mcrypt_enc_get_key_size(resource $td): int

返回打开的模式所能支持的最长密钥,以字节为单位。

参数

td

加密描述符。

返回值

返回打开的模式所能支持的最长密钥,以字节为单位。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top