[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Prime Finite Fields Utilizes the factory design pattern
Author: | Jim Wigginton <[email protected]> |
Copyright: | 2017 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
File Size: | 124 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PrimeField:: (7 methods):
__construct()
setReduction()
newInteger()
randomInteger()
getLengthInBytes()
getLength()
__destruct()
Class: PrimeField - X-Ref
Prime Finite Fields__construct(BigInteger $modulo) X-Ref |
Default constructor |
setReduction(\Closure $func) X-Ref |
Use a custom defined modular reduction function return: void |
newInteger(BigInteger $num) X-Ref |
Returns an instance of a dynamically generated PrimeFieldInteger class return: Integer |
randomInteger() X-Ref |
Returns an integer on the finite field between one and the prime modulo return: Integer |
getLengthInBytes() X-Ref |
Returns the length of the modulo in bytes return: int |
getLength() X-Ref |
Returns the length of the modulo in bits return: int |
__destruct() X-Ref |
Destructor |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |