Subversion Repositories oidplus

Rev

Rev 874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 874 Rev 1042
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
-
 
18
 * @author    Jim Wigginton <terrafrost@php.net>
16
 * @author    Jim Wigginton <terrafrost@php.net>
19
 * @copyright 2017 Jim Wigginton
17
 * @copyright 2017 Jim Wigginton
20
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
18
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
21
 * @link      http://pear.php.net/package/Math_BigInteger
19
 * @link      http://pear.php.net/package/Math_BigInteger
22
 */
20
 */
Line 28... Line 26...
28
use phpseclib3\Math\BinaryField\Integer as BinaryInteger;
26
use phpseclib3\Math\BinaryField\Integer as BinaryInteger;
29
 
27
 
30
/**
28
/**
31
 * Curves over y^2 + x*y = x^3 + a*x^2 + b
29
 * Curves over y^2 + x*y = x^3 + a*x^2 + b
32
 *
30
 *
33
 * @package Binary
-
 
34
 * @author  Jim Wigginton <terrafrost@php.net>
31
 * @author  Jim Wigginton <terrafrost@php.net>
35
 * @access  public
-
 
36
 */
32
 */
37
class Binary extends Base
33
class Binary extends Base
38
{
34
{
39
    /**
35
    /**
40
     * Binary Field Integer factory
36
     * Binary Field Integer factory