[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
Curve25519
Author: | Jim Wigginton |
Copyright: | 2019 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
Link: | http://pear.php.net/package/Math_BigInteger |
File Size: | 81 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Curve25519:: (4 methods):
__construct()
multiplyPoint()
createRandomMultiplier()
rangeCheck()
Class: Curve25519 - X-Ref
__construct() X-Ref |
No description |
multiplyPoint(array $p, BigInteger $d) X-Ref |
Multiply a point on the curve by a scalar Modifies the scalar as described at https://tools.ietf.org/html/rfc7748#page-8 return: array |
createRandomMultiplier() X-Ref |
Creates a random scalar multiplier return: BigInteger |
rangeCheck(BigInteger $x) X-Ref |
Performs range check |