PHP.nl

mcrypt_enc_is_block_algorithm_mode

mcrypt_enc_is_block_algorithm_mode

Checks whether the encryption of the opened mode works on blocks

bool **mcrypt_enc_is_block_algorithm_mode** resource $td

Tells whether the algorithm of the opened mode works on blocks (e.g. false for stream, and true for cbc, cfb, ofb)..

tdThe encryption descriptor.

Returns true if the mode is for use with block algorithms, otherwise it returns false.