Subversion Repositories oidplus

Rev

Rev 846 | 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
 * BCMath Dynamic Barrett Modular Exponentiation Engine
4
 * BCMath Dynamic Barrett Modular Exponentiation 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 17... Line 19...
17
use phpseclib3\Math\BigInteger\Engines\BCMath\Base;
19
use phpseclib3\Math\BigInteger\Engines\BCMath\Base;
18
 
20
 
19
/**
21
/**
20
 * PHP Barrett Modular Exponentiation Engine
22
 * PHP Barrett Modular Exponentiation Engine
21
 *
23
 *
-
 
24
 * @package PHP
22
 * @author  Jim Wigginton <terrafrost@php.net>
25
 * @author  Jim Wigginton <terrafrost@php.net>
-
 
26
 * @access  public
23
 */
27
 */
24
abstract class EvalBarrett extends Base
28
abstract class EvalBarrett extends Base
25
{
29
{
26
    /**
30
    /**
27
     * Custom Reduction Function
31
     * Custom Reduction Function