mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
RSA: change default key size to 2048
This commit is contained in:
parent
c85b356b18
commit
6abbbfdfe3
@ -402,7 +402,7 @@ class RSA
|
||||
* @param int $timeout
|
||||
* @param array $p
|
||||
*/
|
||||
static function createKey($bits = 1024, $timeout = false, $partial = array())
|
||||
static function createKey($bits = 2048, $timeout = false, $partial = array())
|
||||
{
|
||||
self::_initialize_static_variables();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user