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_encrypt(3) - php
mcrypt_decrypt(3) - php
mcrypt_get_key_size(3) - php
variant_imp(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!