PHP.nl

mcrypt_enc_is_block_algorithm

mcrypt_enc_is_block_algorithm

Checks whether the algorithm of the opened mode is a block algorithm

bool **mcrypt_enc_is_block_algorithm** resource $td

Tells whether the algorithm of the opened mode is a block algorithm.

tdThe encryption descriptor.

Returns true if the algorithm is a block algorithm or false if it is a stream one.