mcrypt_list_algorithms
PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0
mcrypt_list_algorithms - Gets an array of all supported ciphers
Manual
mcrypt_list_algorithms(
[string$lib_dir = ini_get("mcrypt.algorithms_dir")] ): array
Gets the list of all supported algorithms in the lib_dir parameter.
Parameters
- lib_dir
-
Specifies the directory where all algorithms are located. If not specified, the value of the mcrypt.algorithms_dir php.ini directive is used.
Return Values
Returns an array with all the supported algorithms.