Home > PHP > Function > Mcrypt > mcrypt_get_cipher_name()

mcrypt_get_cipher_name()

mcrypt_get_cipher_name - Get the name of the specified cipher

Syntax

string mcrypt_get_cipher_name (int $cipher, string $cipher, int $cipher, string $cipher)

Arguments

  • cipher - One of the MCRYPT_ciphernameconstants or the name of the algorithm as string.
  • cipher
  • cipher - One of the MCRYPT_ciphernameconstants or the name of the algorithm as string.
  • cipher

Description

mcrypt_get_cipher_name() is used to get the name of the specified cipher.

Version

PHP 4, 5

Return value

This function returns the name of the cipher or FALSE, if the cipher does not exist.