[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
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 |
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 |