Query: mcrypt_get_cipher_name
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MCRYPT_GET_CIPHER_NAME(3) 1 MCRYPT_GET_CIPHER_NAME(3) mcrypt_get_cipher_name - Gets the name of the specified cipherSYNOPSISstring mcrypt_get_cipher_name (int $cipher)DESCRIPTIONstring mcrypt_get_cipher_name (string $cipher) mcrypt_get_cipher_name(3) is used to get the name of the specified cipher. mcrypt_get_cipher_name(3) takes the cipher number as an argument (libmcrypt 2.2.x) or takes the cipher name as an argument (libmcrypt 2.4.x or higher) and returns the name of the cipher or FALSE, if the cipher does not exist.PARAMETERSo $cipher -One of the MCRYPT_ciphername constants, or the name of the algorithm as string.RETURN VALUESThis function returns the name of the cipher or FALSE if the cipher does not exist.EXAMPLESExample #1 mcrypt_get_cipher_name(3) Example <?php $cipher = MCRYPT_TripleDES; echo mcrypt_get_cipher_name($cipher); ?> The above example will output: 3DES PHP Documentation Group MCRYPT_GET_CIPHER_NAME(3)