Have you seen http://opensrs-php.sourceforge.net ... ?
-----Original Message-----
From: owner-dev-list@opensrs.org [mailto:owner-dev-list@opensrs.org]On
Behalf Of Michael Brown
Sent: Tuesday, February 06, 2001 1:58 PM
To: dev-list@opensrs.org
Subject: DES CBC encryption
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͇ol\Nw
>P\
My Example string: RandomIV00000000R͇ol\Nw>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
mike@xamo.com
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:36:15 EDT