1--TEST--
2Crypto\Cipher::getAlgorithms basic usage.
3--FILE--
4<?php
5$algorithms_all = Crypto\Cipher::getAlgorithms();
6if (is_array($algorithms_all) && !empty($algorithms_all))
7	echo "ALL\n";
8$algorithms_aliases = Crypto\Cipher::getAlgorithms(true);
9if (is_array($algorithms_aliases) && !empty($algorithms_aliases))
10	echo "ALIASES\n";
11$algorithms_aes = Crypto\Cipher::getAlgorithms(false, 'AES');
12if (is_array($algorithms_aes) && !empty($algorithms_aes))
13	echo "AES\n";
14?>
15--EXPECT--
16ALL
17ALIASES
18AES