mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Merge branch '3.0'
This commit is contained in:
commit
57031bdf9a
@ -285,10 +285,8 @@ abstract class RSA extends AsymmetricKey
|
||||
* Create a private key
|
||||
*
|
||||
* The public key can be extracted from the private key
|
||||
*
|
||||
* @return RSA
|
||||
*/
|
||||
public static function createKey(int $bits = 2048)
|
||||
public static function createKey(int $bits = 2048): PrivateKey
|
||||
{
|
||||
self::initialize_static_variables();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user