downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mcrypt_module_open> <mcrypt_module_is_block_algorithm
[edit] Last updated: Fri, 25 May 2012

view this page in

mcrypt_module_is_block_mode

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_module_is_block_modeIndique si un mode travaille par blocs

Description

bool mcrypt_module_is_block_mode ( string $mode [, string $lib_dir ] )

Cette fonction retourne TRUE si ce mode fournit des blocs d'octets ou FALSE s'il ne sort que des octets. (i.e. TRUE pour "cbc" et "ecb", et FALSE pour "cfb" et "stream").

Liste de paramètres

mode

Le mode à vérifier.

lib_dir

Le paramètre optionnel lib_dir contient le chemin jusqu'au module de l'algorithme sur le système.

Valeurs de retour

Cette fonction retourne TRUE si ce mode fournit des blocs d'octets ou FALSE s'il ne sort que des octets. (i.e. TRUE pour "cbc" et "ecb", et FALSE pour "cfb" et "stream").



add a note add a note User Contributed Notes mcrypt_module_is_block_mode
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites