mcrypt_list_algorithms
mcrypt_list_algorithms
Gets an array of all supported ciphers
array **mcrypt_list_algorithms** string $lib_dir
Gets the list of all supported algorithms in the
parameter.
lib_dir
lib_dir
Specifies the directory where all algorithms are located. If not
specified, the value of the
php.ini directive is used.
mcrypt.algorithms_dir
Returns an array with all the supported algorithms.
Voorbeeld: Example
<?php
$algorithms = mcrypt_list_algorithms();
print_r($algorithms);
?>
Array
(
[0] => cast-128
[1] => gost
[2] => rijndael-128
[3] => twofish
[4] => arcfour
[5] => cast-256
[6] => loki97
[7] => rijndael-192
[8] => saferplus
[9] => wake
[10] => blowfish-compat
[11] => des
[12] => rijndael-256
[13] => serpent
[14] => xtea
[15] => blowfish
[16] => enigma
[17] => rc2
[18] => tripledes
)