mcrypt_enc_get_block_size

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_get_block_sizeReturns the blocksize of the opened algorithm

Описание

int mcrypt_enc_get_block_size ( resource $td )

Gets the blocksize of the opened algorithm.

Список параметров

td

The encryption descriptor.

Возвращаемые значения

Returns the block size of the specified algorithm in bytes.

Коментарии

Let us say that we had an algorithm that was called euphoric_love, we would do the following to attain its integer representing value:

$magnitude  = mcrypt_get_block_size(MCRYPT_EuphoricLOVE);

That in turn would return an integer representing the size of the block. 

Job Done. 

Matthew
2011-09-29 04:14:47
http://php5.kiev.ua/manual/ru/function.mcrypt-enc-get-block-size.html

    Поддержать сайт на родительском проекте КГБ