Mcrypt
PHP Manual

mcrypt_enc_get_key_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7)

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 Manual