mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +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