mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 03:03:49 +00:00
BigInteger: add getEngine() static method
This commit is contained in:
parent
b4ef9a1cae
commit
479fa4ce3d
@ -113,6 +113,18 @@ class BigInteger implements \Serializable
|
|||||||
self::$engines = [$main, $modexp];
|
self::$engines = [$main, $modexp];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the engine type
|
||||||
|
*
|
||||||
|
* @return string[]
|
||||||
|
*/
|
||||||
|
public static function getEngine()
|
||||||
|
{
|
||||||
|
self::initialize_static_variables();
|
||||||
|
|
||||||
|
return self::$engines;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize static variables
|
* Initialize static variables
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user