mcrypt_module_is_block_mode(3) php man page | unix.com

Man Page: mcrypt_module_is_block_mode

Operating Environment: php

Section: 3

MCRYPT_MODULE_IS_BLOCK_MODE(3)						 1					    MCRYPT_MODULE_IS_BLOCK_MODE(3)

mcrypt_module_is_block_mode - Returns if the specified mode outputs blocks or not

SYNOPSIS
bool mcrypt_module_is_block_mode (string $mode, [string $lib_dir])
DESCRIPTION
This function returns TRUE if the mode outputs blocks of bytes or FALSE if it outputs just bytes. (e.g. TRUE for cbc and ecb, and FALSE for cfb and stream).
PARAMETERS
o $mode -One of the MCRYPT_MODE_modename constants, or one of the following strings: "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". o $lib_dir - The optional $lib_dir parameter can contain the location where the algorithm module is on the system.
RETURN VALUES
This function returns TRUE if the mode outputs blocks of bytes or FALSE if it outputs just bytes. (e.g. TRUE for cbc and ecb, and FALSE for cfb and stream). PHP Documentation Group MCRYPT_MODULE_IS_BLOCK_MODE(3)
Related Man Pages
enc(1) - opendarwin
mcrypt_decrypt(3) - php
mcrypt_get_iv_size(3) - php
mcrypt_get_key_size(3) - php
mcrypt_module_open(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch