Sorry - i forgot to say, whenever i do an encrypt i check it for a trailing char(10) and if it does, i strip it out. Similarly when i decrypt i add a char(10) onto the end.
On 27/07/06, Symeon Breen <[EMAIL PROTECTED]> wrote: > > Hi John - I have used crypt and decrypt from unidata and in .net. There > was an issue with both crypt and decrypt in that a trailing char(10) was > added or something. - See IBM issue 8088 > > > > > On 27/07/06, John Godzina <[EMAIL PROTECTED]> wrote: > > > > PHP and perl. I can do the implementation if need be, but I'd rather > > use existing libraries if possible. For example, Universe provides a > > variety of DES (des, 3des) and RC encryption routines, and PHP and perl > > can use the mcrypt (e.g.: --with-mcyrpt on the configure line when > > building php, and with various packages found on cpan for perl). > > > > The issue is, the universe encrypt and the mcrypt give different > > resulting data for the same algorithm, passphrase, iv, crypt type (cbc, > > for example). > > > > Thanks, > > John > > > > Larry Hiscock wrote: > > > I haven't used the encrypt function specifically, but I have > > implemented RC4 > > > encryption in UniBasic, PHP and a couple of other languages. What's > > the > > > other app written in? > > > > > > > > > Larry Hiscock > > > Western Computer Services > > > http://www.wcs-corp.com > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of John Godzina > > > Sent: Wednesday, July 26, 2006 3:16 PM > > > To: [email protected] > > > Subject: [U2] Encrypt > > > > > > Hi, > > > > > > Has anyone had any luck encrypting using Universe's encrypt function, > > > passing that data to another application and being able to decrypt > > using > > > the mcrypt library or similar. The other app is not U2 or related. > > > > > > Thanks, > > > John > > > > > > [demime 1.01d removed an attachment of type text/x-vcard which had a > > name of > > > john.vcf] > > > ------- > > > u2-users mailing list > > > [email protected] > > > To unsubscribe please visit http://listserver.u2ug.org/ > > > ------- > > > u2-users mailing list > > > [email protected] > > > To unsubscribe please visit http://listserver.u2ug.org/ > > > > [demime 1.01d removed an attachment of type text/x-vcard which had a > > name of john.vcf] > > ------- > > u2-users mailing list > > [email protected] > > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
