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 11... Line 11...
11
 * https://en.wikipedia.org/wiki/Jacobian_curve
11
 * https://en.wikipedia.org/wiki/Jacobian_curve
12
 * https://en.wikibooks.org/wiki/Cryptography/Prime_Curve/Jacobian_Coordinates
12
 * https://en.wikibooks.org/wiki/Cryptography/Prime_Curve/Jacobian_Coordinates
13
 *
13
 *
14
 * PHP version 5 and 7
14
 * PHP version 5 and 7
15
 *
15
 *
-
 
16
 * @category  Crypt
-
 
17
 * @package   EC
16
 * @author    Jim Wigginton <terrafrost@php.net>
18
 * @author    Jim Wigginton <terrafrost@php.net>
17
 * @copyright 2017 Jim Wigginton
19
 * @copyright 2017 Jim Wigginton
18
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
20
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
19
 * @link      http://pear.php.net/package/Math_BigInteger
21
 * @link      http://pear.php.net/package/Math_BigInteger
20
 */
22
 */
Line 26... Line 28...
26
use phpseclib3\Math\BinaryField\Integer as BinaryInteger;
28
use phpseclib3\Math\BinaryField\Integer as BinaryInteger;
27
 
29
 
28
/**
30
/**
29
 * Curves over y^2 + x*y = x^3 + a*x^2 + b
31
 * Curves over y^2 + x*y = x^3 + a*x^2 + b
30
 *
32
 *
-
 
33
 * @package Binary
31
 * @author  Jim Wigginton <terrafrost@php.net>
34
 * @author  Jim Wigginton <terrafrost@php.net>
-
 
35
 * @access  public
32
 */
36
 */
33
class Binary extends Base
37
class Binary extends Base
34
{
38
{
35
    /**
39
    /**
36
     * Binary Field Integer factory
40
     * Binary Field Integer factory