Fellow monks
We have a PHPChain database that, for reasons I can't explain here, we would like to dump into a CSV or Excel file
Of course, we could extract data from the underlying MySQL database with DBI and write it to, say, an Excel sheet with Spreadsheet::WriteExcel, but we need to decrypt the data stored in the database.
PHPChain encrypts and decrypts the data using these PHP functions:
function encrypt ($key, $data, $iv) { return mcrypt_encrypt (MCRYPT_BLOWFISH, $key, $data, MCRYPT_MO +DE_CBC, $iv); } function decrypt ($key, $data, $iv) { return mcrypt_decrypt (MCRYPT_BLOWFISH, $key, $data, MCRYPT_MO +DE_CBC, $iv); }
Do you know any way to decrypt the so-encrypted data with Perl?
Thanks a lot in advance
Ciao!
--bronto
In theory, there is no difference between theory and practice. In practice, there is.
In reply to Decrypting PHP-encrypted data with Perl by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |