Warning: include(../lntop.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 19

Warning: include() [function.include]: Failed opening '../lntop.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 19

Warning: include(../levoe_menu.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 46

Warning: include() [function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 46



Учебник РНР
НазадВперёд

mcrypt_list_algorithms

(PHP 4 >= 4.0.2)

mcrypt_list_algorithms - получает массив всех поддерживаемых шифров.

Описание

array mcrypt_list_algorithms ([string lib_dir])

mcrypt_list_algorithms() используется для получения массива всех поддерживаемых алгоритмов в параметре lib_dir.

mcrypt_list_algorithms() принимает необязательный параметр lib_dir, который специфицирует директорию размещения всех алгоритмов. Если не специфицирован, используется значение php.ini-директивы mcrypt.algorithms_dir.

Пример 1. mcrypt_list_algorithms()
<?php
    $algorithms = mcrypt_list_algorithms ("/usr/local/lib/libmcrypt");

    foreach ($algorithms as $cipher) {
        echo "$cipher<br />\n";
    }
?>

Этот пример даст на выходе список поддерживаемых алгоритмов из директории "/usr/local/lib/libmcrypt".


Назад Оглавление Вперёд
mcrypt_get_key_size Вверхmcrypt_list_modes


Warning: include(../pravoe_menu.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 148

Warning: include() [function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 148

Rambler's Top100
© 2009 Тест скорости интернета |  Boont.Ru

Warning: include(../lnbottom.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 274

Warning: include() [function.include]: Failed opening '../lnbottom.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-algorithms.html on line 274