Mcrypt 函数
PHP 手册

mcrypt_enc_get_key_size

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_get_key_sizeReturns the maximum supported keysize of the opened mode

说明

int mcrypt_enc_get_key_size ( resource $td )

Gets the maximum supported key size of the algorithm in bytes.

参数

td

The encryption descriptor.

返回值

Returns the maximum supported key size of the algorithm in bytes.


Mcrypt 函数
PHP 手册