mcrypt_enc_is_block_mode()
mcrypt_enc_is_block_mode - Checks whether the opened mode outputs blocks
Syntax
bool mcrypt_enc_is_block_mode (
resource $td)
Arguments
- td - The encryption descriptor.
Description
Tells whether the opened mode outputs blocks (e.g. TRUE for cbc and ecb, and FALSE for cfb and stream).
Version
PHP 4.0.2, 5
Return value
Returns TRUE if the mode outputs blocks of bytes or FALSE if it outputs bytes.