array mcrypt_list_algorithms ([ string $lib_dir = ini_get("mcrypt.algorithms_dir") ] )Gets an array of all supported ciphers
Gets the list of all supported algorithms in the lib_dir parameter.
<?php
    $algorithms = mcrypt_list_algorithms("/usr/local/lib/libmcrypt");
    foreach ($algorithms as $cipher) {
        echo "$cipher<br />\n";
    }
?>

 
 
0 Comment:
Post a Comment