mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
PKCS8: RC2 encrypted keys didn't work
This commit is contained in:
parent
80e82babe9
commit
c21db263b0
@ -141,6 +141,7 @@ abstract class PKCS8 extends PKCS
|
||||
break;
|
||||
case 'RC2':
|
||||
$cipher = new RC2('cbc');
|
||||
$cipher->setKeyLength(64);
|
||||
break;
|
||||
case '3-KeyTripleDES':
|
||||
$cipher = new TripleDES('cbc');
|
||||
|
Loading…
Reference in New Issue
Block a user