Query: mcrypt_enc_get_algorithms_name
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MCRYPT_ENC_GET_ALGORITHMS_NAME(3) 1 MCRYPT_ENC_GET_ALGORITHMS_NAME(3) mcrypt_enc_get_algorithms_name - Returns the name of the opened algorithmSYNOPSISstring mcrypt_enc_get_algorithms_name (resource $td)DESCRIPTIONThis function returns the name of the algorithm.PARAMETERSo $td - The encryption descriptor.RETURN VALUESReturns the name of the opened algorithm as a string.EXAMPLESExample #1 mcrypt_enc_get_algorithms_name(3) example <?php $td = mcrypt_module_open(MCRYPT_CAST_256, '', MCRYPT_MODE_CFB, ''); echo mcrypt_enc_get_algorithms_name($td). " "; $td = mcrypt_module_open('cast-256', '', MCRYPT_MODE_CFB, ''); echo mcrypt_enc_get_algorithms_name($td). " "; ?> The above example will output: CAST-256 CAST-256 PHP Documentation Group MCRYPT_ENC_GET_ALGORITHMS_NAME(3)