/** @ignore */ public static function __test($o = null) { parent::__test($o); }
/** * Test all available algorithms in all available modes * @ignore */ public static function __test() { # prevent auto-tests from running if mcrypt isnt installed if (!defined('MCRYPT_RAND')) { return; } $key = 'tr7raxe5apHeTr2v'; # test all algos and all supported modes for each algo foreach (mcrypt_list_algorithms() as $a) { foreach (mcrypt_list_modes() as $m) { if (@mcrypt_get_block_size($a, $m)) { parent::__test(new self($a, $m, $key)); } } } }
/** @ignore */ public static function __test() { parent::__test(new self('tr7raxe5apHeTr2v')); }
/** @ignore */ public static function __test() { parent::__test(new self('abcdefghijklmnop')); }