mcrypt_get_cipher_name(3) php man page | unix.com

Man Page: mcrypt_get_cipher_name

Operating Environment: php

Section: 3

MCRYPT_GET_CIPHER_NAME(3)						 1						 MCRYPT_GET_CIPHER_NAME(3)

mcrypt_get_cipher_name - Gets the name of the specified cipher

SYNOPSIS
string mcrypt_get_cipher_name (int $cipher)
DESCRIPTION
string 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.
PARAMETERS
o $cipher -One of the MCRYPT_ciphername constants, or the name of the algorithm as string.
RETURN VALUES
This function returns the name of the cipher or FALSE if the cipher does not exist.
EXAMPLES
Example #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)
Related Man Pages
evp_openfinal(3) - centos
evp_openfinal(3) - osx
evp_openupdate(3) - osx
evp_openinit(3) - osx
mcrypt_get_key_size(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun