mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-30 20:59:14 +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
|
* Create a private key
|
||||||
*
|
*
|
||||||
* The public key can be extracted from the 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();
|
self::initialize_static_variables();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user