PKCS8: RC2 encrypted keys didn't work

This commit is contained in:
terrafrost 2023-11-12 09:02:35 -06:00
parent 80e82babe9
commit c21db263b0
1 changed files with 1 additions and 0 deletions

View File

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