mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 17:57:12 +00:00
PKCS8: PBES2 / DES encrypted keys didn't work
This commit is contained in:
parent
820ec76610
commit
9bfd136259
@ -219,7 +219,7 @@ abstract class PKCS8 extends PKCS
|
||||
{
|
||||
switch ($algo) {
|
||||
case 'desCBC':
|
||||
$cipher = new TripleDES('cbc');
|
||||
$cipher = new DES('cbc');
|
||||
break;
|
||||
case 'des-EDE3-CBC':
|
||||
$cipher = new TripleDES('cbc');
|
||||
|
Loading…
Reference in New Issue
Block a user