[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/ -> Montgomery.php (summary)

PHP Montgomery Modular Exponentiation Engine PHP version 5 and 7

Author: Jim Wigginton
Copyright: 2017 Jim Wigginton
License: http://www.opensource.org/licenses/mit-license.html MIT License
Link: http://pear.php.net/package/Math_BigInteger
File Size: 89 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  isValidEngine()
  slidingWindow()

Functions
Functions that are not part of a class:

isValidEngine()   X-Ref
Test for engine validity

return: bool

slidingWindow(Engine $x, Engine $e, Engine $n, $class)   X-Ref
Performs modular exponentiation.

return: T
param: Engine $x
param: Engine $e
param: Engine $n
param: class-string<T> $class