in reply to Re^5: Perl encryption not matching PHP encryption
in thread Perl encryption not matching PHP encryption

A_Monk, Thanks for pointing that out. I was frantically trying diferrent combinations of the code and forgot to paste the running code. I've include get16 sub function and updated the perl code above. I used the "" for the $eol argument and that %0A has dropped off. I think the issue is the IV generation that the two languages generate. However I would like to believe that during the decrypt, the IV would be read and accounted for. But obviously my debugging skills are sub_par. Do you have any other ideas? WHAT each encrypt function generates when i use Ax16 for the IV ...

PERL QUFBQUFBQUFBQUFBQUFBQcldXcuylXuYG%2BOav3Awis4%3D

PHP QUFBQUFBQUFBQUFBQUFBQYZ0ZaS%2BWwtqd05V7CeJh%2BE%3D

  • Comment on Re^6: Perl encryption not matching PHP encryption

Replies are listed 'Best First'.
Re^7: Perl encryption not matching PHP encryption
by johnnytc4 (Novice) on Apr 12, 2011 at 21:21 UTC
    NVM, i figured it out. the -literal_key => 1 did the trick. Thanks all for your help.