I have a database that encrypted with windows CAPICOM library with RC4. Following PHP script works fine on windows server.
...
$oCapiCapi = new COM("CAPICOM.EncryptedData");
$oCapiCapi -> Algorithm = 1;
$oCapiCapi -> Algorithm -> KeyLength = 3;
$oCapiCapi -> SetSecret('OURveRYSecretKey');
...
$oCapiCapi -> Decrypt($orsd[1]);
$Decrypted = $oCapiCapi -> Content;
...
I would like to decrypt the same database on linux server. How Should I do that? Can I decrypt the a data that encrypted with CAPICOM?
Thank you.