mcrypt_enc_get_modes_name(3) php man page | unix.com

Man Page: mcrypt_enc_get_modes_name

Operating Environment: php

Section: 3

MCRYPT_ENC_GET_MODES_NAME(3)						 1					      MCRYPT_ENC_GET_MODES_NAME(3)

mcrypt_enc_get_modes_name - Returns the name of the opened mode

SYNOPSIS
string mcrypt_enc_get_modes_name (resource $td)
DESCRIPTION
This function returns the name of the mode.
PARAMETERS
o $td - The encryption descriptor.
RETURN VALUES
Returns the name as a string.
EXAMPLES
Example #1 mcrypt_enc_get_modes_name(3) example <?php $td = mcrypt_module_open (MCRYPT_CAST_256, '', MCRYPT_MODE_CFB, ''); echo mcrypt_enc_get_modes_name($td). " "; $td = mcrypt_module_open ('cast-256', '', 'ecb', ''); echo mcrypt_enc_get_modes_name($td). " "; ?> The above example will output: CFB ECB PHP Documentation Group MCRYPT_ENC_GET_MODES_NAME(3)
Related Man Pages
round(3) - php
nl2br(3) - php
oci_field_name(3) - php
php_strip_whitespace(3) - php
php_uname(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update