1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 00:29:36 +01:00

RSA: change default key size to 2048

This commit is contained in:
terrafrost 2016-01-08 13:58:06 -06:00
parent c85b356b18
commit 6abbbfdfe3

View File

@ -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();