mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-05 13:07:53 +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];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the engine type
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public static function getEngine()
|
||||
{
|
||||
self::initialize_static_variables();
|
||||
|
||||
return self::$engines;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize static variables
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user