Rev 846 | Rev 1042 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 846 | Rev 874 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | /** |
3 | /** |
4 | * Base BigInteger Engine |
4 | * Base BigInteger Engine |
5 | * |
5 | * |
6 | * PHP version 5 and 7 |
6 | * PHP version 5 and 7 |
7 | * |
7 | * |
- | 8 | * @category Math |
|
- | 9 | * @package BigInteger |
|
8 | * @author Jim Wigginton <terrafrost@php.net> |
10 | * @author Jim Wigginton <terrafrost@php.net> |
9 | * @copyright 2017 Jim Wigginton |
11 | * @copyright 2017 Jim Wigginton |
10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License |
12 | * @license http://www.opensource.org/licenses/mit-license.html MIT License |
11 | * @link http://pear.php.net/package/Math_BigInteger |
13 | * @link http://pear.php.net/package/Math_BigInteger |
12 | */ |
14 | */ |
Line 20... | Line 22... | ||
20 | use phpseclib3\Math\BigInteger; |
22 | use phpseclib3\Math\BigInteger; |
21 | 23 | ||
22 | /** |
24 | /** |
23 | * Base Engine. |
25 | * Base Engine. |
24 | * |
26 | * |
- | 27 | * @package Engine |
|
25 | * @author Jim Wigginton <terrafrost@php.net> |
28 | * @author Jim Wigginton <terrafrost@php.net> |
- | 29 | * @access public |
|
26 | */ |
30 | */ |
27 | abstract class Engine implements \JsonSerializable |
31 | abstract class Engine implements \JsonSerializable |
28 | { |
32 | { |
29 | /* final protected */ const PRIMES = [ |
33 | /* final protected */ const PRIMES = [ |
30 | 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, |
34 | 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, |