mcrypt_enc_get_block_size

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_get_block_size -- Returns the blocksize of the opened algorithm

Description

int mcrypt_enc_get_block_size ( resource td)

This function returns the block size of the algorithm specified by the encryption descriptor td in bytes.

. "\n";
  
    
$td = mcrypt_module_open('cast-256', '', MCRYPT_MODE_CFB, '');
    echo
mcrypt_enc_get_algorithms_name($td). "\n";
?>

Prints:
CAST-256
CAST-256