PHP.nl

mcrypt_enc_is_block_mode

mcrypt_enc_is_block_mode

Checks whether the opened mode outputs blocks

bool **mcrypt_enc_is_block_mode** resource $td

Tells whether the opened mode outputs blocks (e.g. true for cbc and ecb, and false for cfb and stream).

tdThe encryption descriptor.

Returns true if the mode outputs blocks of bytes, or false if it outputs just bytes.