Hey folks,
 
    My progress on the PHP client for OpenSRS is close to complete. I am having one struggle with the encryption end of things, as it appears that the Perl clients implementation of the encryption is not standard CBC encryption.
 
My code, for some reason produces exactly the same encryption as Perl's module, except for the last 8 bytes (which are not present in my code). It appears that the Perl module/source is adding these 8 bytes, although I'm not sure where they come from.
 
    Can anyone shed some light on this subject?
 
    Example string from Perl: RandomIV00000000R�‡o�…��l\�N��w”�>š��‹P����\��
    My Example string:         RandomIV00000000R�‡o�…��l\�N��w”�>š��‹P
 
    As you can see, it is exactly the same, except for the extra 8 bytes in Perl's generated result.
 
 
Help please!
 
Michael Brown
[EMAIL PROTECTED]

Reply via email to